Initializes a new instance of the SGPNotification class.
SGNotification(text, [timeout], [align]);
Parameter |
Description |
text |
The text message to display |
timeout |
Optional, default: undefined (always displayed) The time, in milliseconds, that the notification window will be displayed |
align |
Optional, default: null Alignment string. Same as SGPopup.align |