sham-ui-without-flush-loader

3.0.1 • Public • Published

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 %}
...

Readme

Keywords

none

Package Sidebar

Install

npm i sham-ui-without-flush-loader

Weekly Downloads

4

Version

3.0.1

License

MIT

Unpacked Size

9.96 kB

Total Files

6

Last publish

Collaborators

  • shamcode