Type Alias NotificationOptions

Source
pub(crate) type NotificationOptions = NotificationOptions;

Aliased Type§

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>,
}

Fields§

§actions: Vec<NotificationAction>§badge: Option<USVString>§body: DOMString§data: RootedTraceableBox<Heap<Value>>§dir: NotificationDirection§icon: Option<USVString>§image: Option<USVString>§lang: DOMString§renotify: bool§requireInteraction: bool§silent: Option<bool>§tag: DOMString§timestamp: Option<u64>§vibrate: Option<UnsignedLongOrUnsignedLongSequence>