createEvent()
createEvent(string $title, array $opts = array())
Create a webnotification event.
Parameters
string |
$title |
Notification title. |
array |
$opts |
Additional options:
- icon: (string) URL to icon to display.
- text: (string) Extra content to display within notification.
|