Last active
February 21, 2019 11:30
-
-
Save yakuzaaaa/04b490099329eabf30493f986c4747e6 to your computer and use it in GitHub Desktop.
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
<!-- | |
We will use the directive in HTML in the following way | |
lazy-load here is our directive name and source is our input to the directive and it contains the original source URL --> | |
<img lazy-load [source]="srcUrl"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment