Class type Dom_html.element
Properties common to all HTML elements
inherit Js_of_ocaml__.Dom.elementinherit nodeSelectormethod id : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.propmethod title : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod lang : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod dir : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod className : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod classList : tokenList Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_propmethod closest : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
element Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.methmethod slot : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod shadowRoot : shadowRoot Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt
Js_of_ocaml__.Js.readonly_propmethod assignedSlot : element Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt
Js_of_ocaml__.Js.readonly_propmethod attachShadow : shadowRootInit Js_of_ocaml__.Js.t ->
shadowRoot Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methmethod style : cssStyleDeclaration Js_of_ocaml__.Js.t Js_of_ocaml__.Js.propmethod innerHTML : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod outerHTML : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod textContent : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
Js_of_ocaml__.Js.propmethod innerText : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod dataset : domStringMap Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_propmethod tabIndex : int Js_of_ocaml__.Js.propSetter only: reading hidden in some browsers can return the string "until-found" rather than a boolean, so the getter is not exposed.
method draggable : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.propmethod spellcheck : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.propmethod translate : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.propmethod contentEditable : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod isContentEditable : bool Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.readonly_propmethod accessKey : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod autofocus : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.propmethod inputMode : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod enterKeyHint : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod nonce : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.propmethod clientLeft : int Js_of_ocaml__.Js.readonly_propmethod clientTop : int Js_of_ocaml__.Js.readonly_propmethod clientWidth : int Js_of_ocaml__.Js.readonly_propmethod clientHeight : int Js_of_ocaml__.Js.readonly_propmethod offsetLeft : int Js_of_ocaml__.Js.readonly_propmethod offsetTop : int Js_of_ocaml__.Js.readonly_propmethod offsetParent : element Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt
Js_of_ocaml__.Js.readonly_propmethod offsetWidth : int Js_of_ocaml__.Js.readonly_propmethod offsetHeight : int Js_of_ocaml__.Js.readonly_propmethod scrollLeft : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.propmethod scrollTop : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.propmethod scrollWidth : int Js_of_ocaml__.Js.readonly_propmethod scrollHeight : int Js_of_ocaml__.Js.readonly_propmethod popover : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
Js_of_ocaml__.Js.propmethod getClientRects : clientRectList Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methmethod getBoundingClientRect : clientRect Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.methmethod scrollIntoView : bool Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.methmethod scrollIntoView_options : scrollIntoViewOptions Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.methmethod scrollTo_options : scrollToOptions Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.methmethod scrollBy_options : scrollToOptions Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.methmethod click : unit Js_of_ocaml__.Js.methmethod focus : unit Js_of_ocaml__.Js.methmethod focus_options : focusOptions Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.methmethod blur : unit Js_of_ocaml__.Js.methmethod requestFullscreen : unit Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methmethod requestPointerLock : unit Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methmethod animate : 'a 'b. 'a ->
'b ->
animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methmethod animate_keyframes : 'a. 'a ->
animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methanimate(keyframes) — no options/duration.
method animate_duration : 'a. 'a ->
Js_of_ocaml__.Js.number_t ->
animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methanimate(keyframes, duration) — duration in milliseconds.
method animate_options : 'a. 'a ->
keyframeAnimationOptions Js_of_ocaml__.Js.t ->
animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methanimate(keyframes, options) with a typed options dictionary.
method getAnimations : animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.methmethod hidePopover : unit Js_of_ocaml__.Js.methmethod showPopover : unit Js_of_ocaml__.Js.methmethod showPopover_options : showPopover_options Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.methmethod togglePopover : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methmethod togglePopover_force : bool Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methtogglePopover(force) — force=true forces the popover open, false forces it closed; the no-arg form toggles. Returns the new open state.
method togglePopover_options : togglePopover_options Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.methinherit eventTarget