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