Brr_io.ClipboardClipboard access
See the Clipboard API.
module Item : sig ... endClipboard items.
The type for Clipboard objects.
of_navigator n is a clipboard object for navigator n.
val as_target : t -> Brr.Ev.targetas_target c is c as an event target.
val read : t -> Item.t list Fut.or_errorread c is the content of c.
val read_text : t -> Jstr.t Fut.or_errorread_text c is the clipboard textual content of c.
val write : t -> Item.t list -> unit Fut.or_errorwrite c is writes the items is to c.
val write_text : t -> Jstr.t -> unit Fut.or_errorwrite_text c s writes the string s to c.