1.0.18 • Published 4 years ago

@profiscience/knockout-contrib-router-middleware-loading v1.0.18

Weekly downloads
2
License
WTFPL
Repository
github
Last release
4 years ago

router.middleware.loading

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

NOTE: This package is intended for consumption via the @profiscience/knockout-contrib metapackage

Eases creation of loading middlware

Usage

import { Router, createLoadingMiddleware } from '@profiscience/knockout-contrib'

Router.use(
  createLoadingMiddleware({
    start() {
      showLoader()
    },
    end() {
      hideLoader()
    },

    /* OPTIONAL */
    minDuration: 0, // prevent flickering on fast navigation (show loader for at least <n> ms)
  })
)
1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.1-rc.6

5 years ago

1.0.1-rc.5

5 years ago

1.0.1-rc.4

5 years ago

1.0.1-rc.3

5 years ago

1.0.1-rc.2

6 years ago

1.0.1-rc.1

6 years ago

1.0.1-rc.0

6 years ago