sling-web-component-loader
The loader should be used with business components that demand requests and render with delay.
The component must show the loader component while loading the data source required to populate and render its view.
Install
npm install sling-web-component-loader
Tag
<sling-loader></sling-loader>
Dependencies
- sling-framework
- sling-helpers
Attributes and properties
Name | Type | Default Values | ReflectToAttribute | Observer | callSdk |
---|
loading | Boolean | | :heavy_check_mark: | | |
Description
Name | Description |
---|
loading | Boolean that defines if the loader will be displayed. |
Events
This component have no event.
Examples
All component examples can be emulated using the npm start sling-web-component-loader
command.
Use
<sling-loader loading></sling-loader>