six-alerts-manager
v2.0.0
Published
A component that provides support for the /alerts API to widgets
Downloads
8
Readme
Provides support for /alerts to widgets
- Must be initialized before any widgets on page
Usage
NPM
# npm install six-alerts-manager
import AlertsManager from 'six-alerts-manager'
// initialize with session from SDK and an userId
AlertsManager(session,{userId: '1884C0B8-C22A-4B7A-9DB3-A9AB4F8A45B6'})
CDN
<script type="text/javascript" src="https://cdn.six.se/js/six-alerts-manager/0/six-alerts-manager.min.js" />
// initialize with session from SDK and an userId
Six.Components.AlertsManager(session,{userId: '1884C0B8-C22A-4B7A-9DB3-A9AB4F8A45B6'})