98k-loading

a loading plugin for 98k

Usage no npm install needed!

<script type="module">
  import 8kLoading from 'https://cdn.skypack.dev/98k-loading';
</script>

README

98k-loading

a loading plugin for 98k

Install

$ npm install --save 98k-loading

Quick start

index.js

import Kar98k from '98k';
import createLoading from '98k-loading';

const app = Kar98k();

app.use(createLoading());

Options

createLoading({
  namespace: 'loading' //default to 'loading',
  include: ['^example/fetch'], //filter action types, regex enabled, default to empty
  exclude: ['^counter/']  //default to empty
})