sham-ui-without-flush-loader
Loader without flush for sham-ui
Install
# npm
npm install sham-ui-without-flush-loader
# yarn
yarn add sham-ui-without-flush-loader
API
Table of Contents
WithoutFlushLoaderOptions
Options for WithoutFlushLoader
Type: Object
Properties
-
loadingComponent
Object Component for loading indicator -
delay
number Delay (ms) before REAL show loadingComponent. Default 100
WithoutFlushLoader
Loader without flush for sham-ui
Properties
-
options
WithoutFlushLoaderOptions
Examples
{% import WithoutFlushLoader from 'sham-ui-without-flush-loader' %}
...
{% if loaded %}
Content loaded!
{% else %}
<WithoutFlushLoader
loadingComponent={{ComponentForLoading}}/>
{% endif %}
...