Module Eio_brr.El

DOM elements.

Pointer locking

val request_pointer_lock : Brr.El.t -> unit

request_pointer_lock e requests the pointer to be locked to e in the document it belongs to. This listens on the document for the next Brr.Ev.pointerlockchange and Brr.Ev.pointerlockerror before returning.

Fullscreen

val request_fullscreen : ?opts:Brr.El.fullscreen_opts -> Brr.El.t -> unit

request_fullscreen e requests to make the element to be displayed in fullscreen mode.