@profiscience/knockout-contrib-router-middleware-progress-bar
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.17 • Public • Published

    router.middleware.progressBar

    Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

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

    Displays a progress bar using [toprogress2][] during navigation. Accepts all toprogress2 options.

    Usage

    import {
      Router,
      createProgressBarMiddleware,
    } from '@profiscience/knockout-contrib'
     
    Router.use(
      createProgressBarMiddleware({
        color: '#fff',
        height: '5px',
        // ... any toprogress2 option
      })
    )

    Keywords

    none

    Install

    npm i @profiscience/knockout-contrib-router-middleware-progress-bar

    DownloadsWeekly Downloads

    1

    Version

    2.0.17

    License

    WTFPL

    Unpacked Size

    22.8 kB

    Total Files

    14

    Last publish

    Collaborators

    • dorgeron
    • barsh
    • caseywebb