@profiscience/knockout-contrib-components-flash-message
v2.0.19
Published
[![Version][npm-version-shield]][npm] [![Dependency Status][david-dm-shield]][david-dm] [![Peer Dependency Status][david-dm-peer-shield]][david-dm-peer] [![Dev Dependency Status][david-dm-dev-shield]][david-dm-dev] [![Downloads][npm-stats-shield]][npm-sta
Downloads
67
Readme
components.flash-message
NOTE: This packages is intended for consumption via the @profiscience/knockout-contrib metapackage
Flash message component for use with @profiscience/knockout-contrib-router-middleware-flash-message.
Usage
import * as ko from 'knockout'
import { flashMessageComponentConfig } from '@profiscience/knockout-contrib'
ko.components.register('contrib-flash-message', flashMessageComponentConfig)
<contrib-flash-message></contrib-flash-message>