Property | Type | Description | |
---|---|---|---|
$webnotify | array | Web notification display parameters. |
Method | Description | |
---|---|---|
createEvent ( string $title, array $opts = [] ) | Create a webnotification event. |
public static createEvent ( string $title, array $opts = [] ) | ||
$title | string | Notification title. |
$opts | array | Additional options: - icon: (string) URL to icon to display. - text: (string) Extra content to display within notification. |
public array $webnotify | ||
return | array |