package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 of a.

val title : t -> Jstr.t

action a is the action name of a.

title a is the title of a.

val icon : t -> Jstr.t option

icon a is the icon of a.

OCaml

Innovation. Community. Security.