constructor
flagrate.createNotify
flagrate.createNotify(option) → flagrate.Notify
new flagrate.Notify
option
(Object
) – configuration for the notifications.
Initialize the notifications.
option
target
(Element; defaultdocument.body
):className
(String):disableDesktopNotify
(Boolean; defaultfalse
):disableFocusDetection
(Boolean; defaultfalse
):hAlign
(String; default"right"
;"right"
|"left"
):vAlign
(String; default"bottom"
;"top"
|"bottom"
):hMargin
(Number; default10
):vMargin
(Number; default10
):spacing
(Number; default10
):timeout
(Number; default5
):title
(String; default"Notify"
):