:metal: KnockoutJS Goodies Monorepo
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.
import {
Router,
createProgressBarMiddleware,
} from '@profiscience/knockout-contrib'
Router.use(
createProgressBarMiddleware({
color: '#fff',
height: '5px',
// ... any toprogress2 option
})
)