Notifications
Singleton toast notifications with icon, date, message, color and callback, auto-closing and optional native alerts when unfocused
- easy usage
- singleton
Configuration:
date {String}a date format (defaultyyyy-MM-dd HH:mm)timeout {Number}has to contain a timeout (milliseconds) for the expiration of notification (default:8000)native {Boolean}enables native notifications when is not focused window (default:false)
Methods
component.append(icon, message, [datetime], [callback], [color])for creating a new notification




