sham-ui-without-flush-loader
v3.0.1
Published
Loader without flush for sham-ui
Downloads
7
Readme
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 indicatordelay
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 %}
...