forked from systemjs/plugin-image
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Laurent Goudet
committed
Jan 22, 2016
1 parent
98f2c6c
commit ad122f2
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,12 @@ possible, while still allowing you to handle load errors. | |
It returns `Object` with two `start` and `load` keys. The `start` Promise will | ||
always resolve, use `load` to handle load errors. | ||
|
||
To install with jspm: | ||
|
||
``` | ||
jspm install lazyimage=github:laurentgoudet/[email protected] | ||
``` | ||
|
||
To lazy load a single image, simply do: | ||
|
||
``` | ||
|