Module Notification.Action
Actions.
val max : unit -> int
max
is the maximum number of actions supported.
type t
The type for
NotificationAction
objects.
val v : ?icon:Jstr.t -> action:Jstr.t -> title:Jstr.t -> unit -> t
v ~action ~title ~icon ()
is an action with given properties.
val action : t -> Jstr.t
action a
is the action name ofa
.
val title : t -> Jstr.t
action a
is the action name ofa
.title a
is the title ofa
.