trait NotificationOptions extends Object
- Annotations
- @JSType()
- Alphabetic
- By Inheritance
- NotificationOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val body: UndefOr[String]
The body property of the Notification interface indicates the body string of the notification.
The body property of the Notification interface indicates the body string of the notification.
- Annotations
- @JSOptional()
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val dir: UndefOr[String]
The dir property of the Notification interface indicates the text direction of the notification.
The dir property of the Notification interface indicates the text direction of the notification.
- Annotations
- @JSOptional()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val icon: UndefOr[String]
The icon property of the Notification interface contains the URL of an icon to be displayed as part of the notification.
The icon property of the Notification interface contains the URL of an icon to be displayed as part of the notification.
- Annotations
- @JSOptional()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val lang: UndefOr[String]
The lang property of the Notification interface indicates the text direction of the notification.
The lang property of the Notification interface indicates the text direction of the notification.
- Annotations
- @JSOptional()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noscreen: UndefOr[Boolean]
The noscreen property of the Notification interface specifies whether the notification firing should enable the device's screen or not.
The noscreen property of the Notification interface specifies whether the notification firing should enable the device's screen or not.
- Annotations
- @JSOptional()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val onclick: UndefOr[Function1[Event, Any]]
The onclick property of the Notification interface specifies an event listener to receive click events.
The onclick property of the Notification interface specifies an event listener to receive click events. These events occur when the user clicks on a displayed Notification.
- Annotations
- @JSOptional()
- val onerror: UndefOr[Function1[ErrorEvent, Any]]
The onerror property of the Notification interface specifies an event listener to receive error events.
The onerror property of the Notification interface specifies an event listener to receive error events. These events occur when something goes wrong with a Notification (in many cases an error preventing the notification from being displayed.)
- Annotations
- @JSOptional()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val renotify: UndefOr[Boolean]
The renotify property of the Notification interface specifies whether the user should be notified after a new notification replaces an old one.
The renotify property of the Notification interface specifies whether the user should be notified after a new notification replaces an old one.
- Annotations
- @JSOptional()
- val silent: UndefOr[Boolean]
The silent property of the Notification interface specifies whether the notification should be silent, i.e.
The silent property of the Notification interface specifies whether the notification should be silent, i.e. no sounds or vibrations should be issued, regardless of the device settings.
- Annotations
- @JSOptional()
- val sound: UndefOr[String]
The sound property of the Notification interface specifies the URL of an audio file to be played when the notification fires.
The sound property of the Notification interface specifies the URL of an audio file to be played when the notification fires.
- Annotations
- @JSOptional()
- val sticky: UndefOr[Boolean]
The sticky property of the Notification interface specifies whether the notification should be 'sticky', i.e.
The sticky property of the Notification interface specifies whether the notification should be 'sticky', i.e. not easily clearable by the user.
- Annotations
- @JSOptional()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tag: UndefOr[String]
The tag property of the Notification interface signifies an identifying tag for the notification.
The tag property of the Notification interface signifies an identifying tag for the notification.
The idea of notification tags is that more than one notification can share the same tag, linking them together. One notification can then be programmatically replaced with another to avoid the users' screen being filled up with a huge number of similar notifications.
- Annotations
- @JSOptional()
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- val vibrate: UndefOr[Array[Double]]
- Annotations
- @JSOptional()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()