<eh-notification [left|center] [slide|fade] [canclose] [autoclose="ms"]>
left
- positions notification panels on the leftcenter
- positions notification panels in the center of the windowslide
- notifications slide in (left
or right
only)fade
- notifications fade incanclose
- add a “close” button to notificationsautoclose=
- sets the automatic closure time of notifications (in milliseconds)add(message, type='info')
add a notification; type is
info
,success
,warning
, orerror
; returns an opaque ID
clearPanels()
closes all open notifications
closePanel(id)
closes a particular notification; use the ID returned from
add(...)