Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NotificationOptions

Settings for a GM_notification call

Hierarchy

  • NotificationOptions

Index

Properties

Optional imageUrl

imageUrl: string

The URL of the image to use

Optional isClickable

isClickable: boolean

Whether the notification should be clickable

Optional onclick

onclick: function

A function to run when the notification is clicked

Type declaration

    • Parameters

      Returns void

Optional ondone

ondone: function

A function to run when the notification disappears

Type declaration

    • (): void
    • Returns void

Optional text

text: string

The text on the notification

Optional title

title: string

The title of the notification

Generated using TypeDoc