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