Skip to content

sham-ui/sham-ui-without-flush-loader

Repository files navigation

sham-ui-without-flush-loader

Build Status npm version MIT Licence

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
Examples
{% import WithoutFlushLoader from 'sham-ui-without-flush-loader' %}
...
  {% if loaded %}
    Content loaded!
  {% else %}
    <WithoutFlushLoader
      loadingComponent={{ComponentForLoading}}/>
  {% endif %}
...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •