Type Alias NotificationOptions
Source pub(crate) type NotificationOptions = NotificationOptions;
pub(crate) struct NotificationOptions {Show 14 fields
pub actions: Vec<NotificationAction>,
pub badge: Option<USVString>,
pub body: DOMString,
pub data: RootedTraceableBox<Heap<Value>>,
pub dir: NotificationDirection,
pub icon: Option<USVString>,
pub image: Option<USVString>,
pub lang: DOMString,
pub renotify: bool,
pub requireInteraction: bool,
pub silent: Option<bool>,
pub tag: DOMString,
pub timestamp: Option<u64>,
pub vibrate: Option<UnsignedLongOrUnsignedLongSequence>,
}
§body: DOMString