sham-ui-without-flush-loader
v3.0.1
Published
Loader without flush for sham-ui
Downloads
68
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-loaderAPI
Table of Contents
WithoutFlushLoaderOptions
Options for WithoutFlushLoader
Type: Object
Properties
loadingComponentObject Component for loading indicatordelaynumber Delay (ms) before REAL show loadingComponent. Default 100
WithoutFlushLoader
Loader without flush for sham-ui
Properties
optionsWithoutFlushLoaderOptions
Examples
{% import WithoutFlushLoader from 'sham-ui-without-flush-loader' %}
...
{% if loaded %}
Content loaded!
{% else %}
<WithoutFlushLoader
loadingComponent={{ComponentForLoading}}/>
{% endif %}
...