humane-js notifications for your Cycle app.
npm install --save cycle-humanejs-driver
// cycle instantiationvar makeNotificationDriver = drivers = DOM: ... HTTP: ... NOTIFICATION: // inside the cycle component return DOM: ... HTTP: ... NOTIFICATION: RxObservable
It requires the flatty theme to work with 'error'
, 'success'
and 'info'
shortcuts, but you can use other themes with the custom notification and explicitly setting the class.