new LazyLoad(rootEl, opts)
Class constructor.
Methods
-
getDataAttributes(rootEl)
- (static) Get the data attributes from the ${name.titleCase}Element. If the message is being set up
declaratively, this method is used to extract the data attributes from the DOM.
-
init(rootEl, opts)
- (static) Initialise component.
Links
LazyLoad.getDataAttributes(rootEl)
Static Method
Get the data attributes from the ${name.titleCase}Element. If the message is being set up
declaratively, this method is used to extract the data attributes from the DOM.
Links
LazyLoad.init(rootEl, opts)
Static Method
Initialise component.
Links