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