xin-lazy-img

1.1.2 • Public • Published

xin-lazy-img

npm i xin-lazy-img
<div id="parent">
  <xin-lazy-img src="[[src]]" fallback-src="[[fallback]]" root="#parent"></xin-lazy-img>
</div>

Attributes

  • src - Image source
  • fallbackSrc - Image fallback source
  • root - Container, default to browser viewport

Readme

Keywords

none

Package Sidebar

Install

npm i xin-lazy-img

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • reekoheek