Class type Dom_html.​element

class type element = object..end

Properties common to all HTML elements Inherits


method id : Js.js_string Js.t Js.prop
method title : Js.js_string Js.t Js.prop
method lang : Js.js_string Js.t Js.prop
method dir : Js.js_string Js.t Js.prop
method className : Js.js_string Js.t Js.prop
method classList : tokenList Js.t Js.readonly_prop
method style : cssStyleDeclaration Js.t Js.prop
method innerHTML : Js.js_string Js.t Js.prop
method clientLeft : int Js.readonly_prop
method clientTop : int Js.readonly_prop
method clientWidth : int Js.readonly_prop
method clientHeight : int Js.readonly_prop
method offsetLeft : int Js.readonly_prop
method offsetTop : int Js.readonly_prop
method offsetParent : element Js.t Js.opt Js.readonly_prop
method offsetWidth : int Js.readonly_prop
method offsetHeight : int Js.readonly_prop
method scrollLeft : int Js.prop
method scrollTop : int Js.prop
method scrollWidth : int Js.prop
method scrollHeight : int Js.prop
method getClientRects : clientRectList Js.t Js.meth
method getBoundingClientRect : clientRect Js.t Js.meth
method scrollIntoView : bool Js.t -> unit Js.meth