Skip to content

lazyload

Set attributes on an element when it is visible in the viewport.

Usage

<img use:lazyLoad={{ src: "/myimage" }} alt="" />

Installation

Terminal window
npx atmx add action lazyload