This API can be used to notify the user.
Note
To enable notifications add to extension_info.json file:
{
"permissions": {
"notifications": true
}
}
Shows a notification.
Arguments: |
|
---|
Example:
kango.ui.notifications.show('Notification title', 'Notification text', 'http://kangoextensions.com/images/logos/kango.png', function() {
kango.console.log('Notification click');
});