Class type Dom_html.divElement

inherit Js_of_ocaml__.Dom.element
inherit nodeSelector
method id : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method title : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method lang : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method dir : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method className : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method classList : tokenList Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method 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.meth
method slot : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method shadowRoot : shadowRoot Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.readonly_prop
method assignedSlot : element Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.readonly_prop
method attachShadow : shadowRootInit Js_of_ocaml__.Js.t -> shadowRoot Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method style : cssStyleDeclaration Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method innerHTML : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method outerHTML : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method textContent : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.prop
method innerText : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method dataset : domStringMap Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method tabIndex : int Js_of_ocaml__.Js.prop
method hidden : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop

Setter 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.prop
method spellcheck : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method translate : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method contentEditable : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method isContentEditable : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method accessKey : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method autofocus : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method inputMode : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method enterKeyHint : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method nonce : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method clientLeft : int Js_of_ocaml__.Js.readonly_prop
method clientTop : int Js_of_ocaml__.Js.readonly_prop
method clientWidth : int Js_of_ocaml__.Js.readonly_prop
method clientHeight : int Js_of_ocaml__.Js.readonly_prop
method offsetLeft : int Js_of_ocaml__.Js.readonly_prop
method offsetTop : int Js_of_ocaml__.Js.readonly_prop
method offsetParent : element Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.readonly_prop
method offsetWidth : int Js_of_ocaml__.Js.readonly_prop
method offsetHeight : int Js_of_ocaml__.Js.readonly_prop
method scrollLeft : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method scrollTop : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method scrollWidth : int Js_of_ocaml__.Js.readonly_prop
method scrollHeight : int Js_of_ocaml__.Js.readonly_prop
method popover : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.prop
method getClientRects : clientRectList Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method getBoundingClientRect : clientRect Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method scrollIntoView : bool Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method scrollIntoView_options : scrollIntoViewOptions Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method scrollTo_options : scrollToOptions Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method scrollBy_options : scrollToOptions Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method click : unit Js_of_ocaml__.Js.meth
method focus : unit Js_of_ocaml__.Js.meth
method focus_options : focusOptions Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method blur : unit Js_of_ocaml__.Js.meth
method requestFullscreen : unit Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.meth
method requestPointerLock : unit Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.meth
method animate : 'a 'b. 'a -> 'b -> animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method animate_keyframes : 'a. 'a -> animation Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth

animate(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.meth

animate(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.meth

animate(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.meth
method hidePopover : unit Js_of_ocaml__.Js.meth
method showPopover : unit Js_of_ocaml__.Js.meth
method showPopover_options : showPopover_options Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method togglePopover : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method togglePopover_force : bool Js_of_ocaml__.Js.t -> bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth

togglePopover(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.meth
inherit eventTarget