Class type Notification.notificationOptions

Initializer for notification. All fields are optional; create an empty record with empty_options and populate the ones you need.

method dir : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop

Text direction: "auto" (default), "ltr" or "rtl".

method lang : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method body : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method navigate : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method tag : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method icon : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method image : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method badge : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method vibrate : int Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method data : Js_of_ocaml__.Js.Unsafe.any Js_of_ocaml__.Js.writeonly_prop
method requireInteraction : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method silent : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.writeonly_prop
method renotify : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method timestamp : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.writeonly_prop
method actions : notificationAction Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop