xnotify
v1.0.21
Published
Creates notifications for your app
Downloads
1
Maintainers
Readme
XNotify
Generate notifications for your project. You may use this for async reporting onto your app or any other kind of reporting functionality.
Installation
npm install xnotify --save
import { xnotify } from 'xnotify';
xnotify('Your notification text')
Options
- innerText / string / the text message
- stack / boolean / true to stack multiple notifications
- borderColor / string / the border color of the notification
- fontColor / string / the font color of the notification
- background / string / the background color of the notification
- width / string / the width of the notification
- fontSize / string / the font size of the notification
- state / boolean / true to let the notification visible
- container / string / the container where the notification lives