Browse Source

+ npm install cmd to readme

pull/90/head
Thomas Heck 9 years ago
parent
commit
1fc6f58070
  1. 1
      README.md

1
README.md

@ -4,6 +4,7 @@ Echo is a standalone JavaScript lazy-loading image micro-library. Echo is fast,
``` ```
bower install echojs bower install echojs
npm install echo-js
``` ```
Using Echo.js is simple, to add an image directly into the page simply add a `data-echo` attribute to the img tag. Alternatively if you want to use Echo to lazy load background images simply add a `data-echo-background' attribute to the element with the image URL. Using Echo.js is simple, to add an image directly into the page simply add a `data-echo` attribute to the img tag. Alternatively if you want to use Echo to lazy load background images simply add a `data-echo-background' attribute to the element with the image URL.

Loading…
Cancel
Save