Notification
Notification class
Example:
var notification = KQ.Control.Notification.getInstance();
notification.showSuccess('success!');
notification.showInfo('info!');
notification.showError('error!');
Static Method Summary
Static Public Methods | ||
public static |
Get instance of notification |
Constructor Summary
Public Constructor | ||
public |
constructor(option: Object) Constructor |
Method Summary
Public Methods | ||
public |
Show message with error style |
|
public |
Show message with info style |
|
public |
showSuccess(msg: String, delay: Number): Null Show message with success style |