1.0.18 • Published 5 years ago

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

Weekly downloads
2
License
WTFPL
Repository
github
Last release
5 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

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.1-rc.6

6 years ago

1.0.1-rc.5

6 years ago

1.0.1-rc.4

6 years ago

1.0.1-rc.3

7 years ago

1.0.1-rc.2

7 years ago

1.0.1-rc.1

7 years ago

1.0.1-rc.0

7 years ago