Web Component: j-NativeNotifications
j-NativeNotifications
- easy usage
- singleton
Configuration
timeout
{Number} needs to contain a timeout (milliseconds) for the expiration of notification (default:8000
)icon
{String} (optional) an icon (default/icon.png
)
Methods
component.append(title, message, [callback], [icon])
for creating a new notification
Usage
SETTER('nativenotifications/show', 'TITLE', 'MESSAGE', function() {
// optional, click
}, '/img/warning-optional.png');
Author
- Peter Širka petersirka@gmail.com
- License
Created
12. february 2017
Updated
25. may 2023
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com
