Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Experimental WebAPI
GitHub

DOMAPI

Types

abstractRange

typeabstractRange= {
startContainer:node,
startOffset:int,
endContainer:node,
endOffset:int,
collapsed:bool,
}

Record fields

startContainer

Returns range's start node.Read more on MDN

startOffset
int

Returns range's start offset.Read more on MDN

endContainer

Returns range's end node.Read more on MDN

endOffset
int

Returns range's end offset.Read more on MDN

collapsed
bool

Returns true if range is collapsed, and false otherwise.Read more on MDN

alphaOption

typealphaOption= @as("discard")Discard | @as("keep")Keep

animation

typeanimation= {
mutableid:string,
mutableeffect:Null.t<animationEffect>,
mutabletimeline:Null.t<animationTimeline>,
mutableplaybackRate:float,
playState:animationPlayState,
replaceState:animationReplaceState,
pending:bool,
ready:promise<animation>,
finished:promise<animation>,
mutablestartTime:Null.t<float>,
mutablecurrentTime:Null.t<float>,
}

Record fields

playbackRate
float
pending
bool
finished
promise<animation >
startTime
Null.t< float >
currentTime
Null.t< float >

Module

There are methods and helpers defined in Animation.

animationEffect

typeanimationEffect= {}

Module

There are methods and helpers defined in AnimationEffect.

animationPlayState

typeanimationPlayState=
| @as("finished")Finished
| @as("idle")Idle
| @as("paused")Paused
| @as("running")Running

animationReplaceState

typeanimationReplaceState=
| @as("active")Active
| @as("persisted")Persisted
| @as("removed")Removed

animationTimeline

typeanimationTimeline= {currentTime:Null.t<float>}

Record fields

currentTime
Null.t< float >

assignedNodesOptions

typeassignedNodesOptions= {mutableflatten?:bool}

Record fields

flatten
option< bool >

attr

A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types.See Attr on MDN

typeattr= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
name:string,
mutablevalue:string,
ownerElement:Null.t<element>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
namespaceURI
Null.t< string >
prefix
Null.t< string >
localName
string
name
string
value
string
ownerElement
Null.t<element >

autoFillBase

typeautoFillBase= @as("off")Off | @as("on")On

barProp

typebarProp= {visible:bool}

Record fields

visible
bool

blobCallback

typeblobCallback=WebAPI.FileAPI.blob=>unit

canPlayTypeResult

typecanPlayTypeResult=
| @as("maybe")Maybe
| @as("probably")Probably

canvasContext2DAttributes

typecanvasContext2DAttributes= {
alpha:bool,
colorspace?:predefinedColorSpace,
desynchronized:bool,
willReadFrequently:bool,
}

Record fields

alpha
bool
colorspace
desynchronized
bool
willReadFrequently
bool

canvasRenderingContext2D

The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects.See CanvasRenderingContext2D on MDN

typecanvasRenderingContext2D= {
canvas:htmlCanvasElement,
mutableglobalAlpha:float,
mutableglobalCompositeOperation:WebAPI.CanvasAPI.globalCompositeOperation,
mutableimageSmoothingEnabled:bool,
mutableimageSmoothingQuality:WebAPI.CanvasAPI.imageSmoothingQuality,
mutablestrokeStyle:WebAPI.CanvasAPI.fillStyle,
mutablefillStyle:WebAPI.CanvasAPI.fillStyle,
mutableshadowOffsetX:float,
mutableshadowOffsetY:float,
mutableshadowBlur:float,
mutableshadowColor:string,
mutablefilter:string,
mutablelineWidth:float,
mutablelineCap:WebAPI.CanvasAPI.canvasLineCap,
mutablelineJoin:WebAPI.CanvasAPI.canvasLineJoin,
mutablemiterLimit:float,
mutablelineDashOffset:float,
mutablefont:string,
mutabletextAlign:WebAPI.CanvasAPI.canvasTextAlign,
mutabletextBaseline:WebAPI.CanvasAPI.canvasTextBaseline,
mutabledirection:WebAPI.CanvasAPI.canvasDirection,
mutableletterSpacing:string,
mutablefontKerning:WebAPI.CanvasAPI.canvasFontKerning,
mutablefontStretch:WebAPI.CanvasAPI.canvasFontStretch,
mutablefontVariantCaps:WebAPI.CanvasAPI.canvasFontVariantCaps,
mutabletextRendering:WebAPI.CanvasAPI.canvasTextRendering,
mutablewordSpacing:string,
}

Record fields

globalAlpha
float
imageSmoothingEnabled
bool
shadowOffsetX
float
shadowOffsetY
float
shadowBlur
float
shadowColor
string
filter
string
lineWidth
float
miterLimit
float
lineDashOffset
float
font
string
letterSpacing
string
wordSpacing
string

Module

There are methods and helpers defined in CanvasRenderingContext2D.

caretPosition

typecaretPosition= {}

Module

There are methods and helpers defined in CaretPosition.

caretPositionFromPointOptions

typecaretPositionFromPointOptions= {
mutableshadowRoots?:array<shadowRoot>,
}

Record fields

shadowRoots
option< array<shadowRoot > >

cdataSection

A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section.See CDATASection on MDN

typecdataSection= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabledata:string,
length:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
wholeText:string,
assignedSlot:Null.t<htmlSlotElement>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
data
string
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

wholeText
string

Returns the combined data of all direct Text node siblings.Read more on MDN

assignedSlot
Null.t<htmlSlotElement >

characterData

The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract.See CharacterData on MDN

typecharacterData= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabledata:string,
length:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
data
string
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

Module

There are methods and helpers defined in CharacterData.

checkVisibilityOptions

typecheckVisibilityOptions= {
mutablecheckOpacity?:bool,
mutablecheckVisibilityCSS?:bool,
mutablecontentVisibilityAuto?:bool,
mutableopacityProperty?:bool,
mutablevisibilityProperty?:bool,
}

Record fields

checkOpacity
option< bool >
checkVisibilityCSS
option< bool >
contentVisibilityAuto
option< bool >
opacityProperty
option< bool >
visibilityProperty
option< bool >

colorSpaceConversion

typecolorSpaceConversion=
| @as("default")Default
| @as("none")None

comment

Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.See Comment on MDN

typecomment= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabledata:string,
length:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
data
string
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

Module

There are methods and helpers defined in Comment.

compositeOperation

typecompositeOperation=
| @as("accumulate")Accumulate
| @as("add")Add
| @as("replace")Replace

computedEffectTiming

typecomputedEffectTiming= {
mutablefill?:fillMode,
mutableiterationStart?:float,
mutableiterations?:float,
mutabledirection?:playbackDirection,
mutableeasing?:string,
mutabledelay?:float,
mutableendDelay?:float,
mutableplaybackRate?:float,
mutableduration?:unknown,
mutableprogress?:Null.t<float>,
mutablecurrentIteration?:Null.t<float>,
mutablestartTime?:float,
mutableendTime?:float,
mutableactiveDuration?:float,
mutablelocalTime?:Null.t<float>,
}

Record fields

fill
option<fillMode >
iterationStart
option< float >
iterations
option< float >
direction
easing
option< string >
delay
option< float >
endDelay
option< float >
playbackRate
option< float >
duration
option< unknown >
progress
option< Null.t< float > >
currentIteration
option< Null.t< float > >
startTime
option< float >
endTime
option< float >
activeDuration
option< float >
localTime
option< Null.t< float > >

cssRule

A single CSS rule. There are several types of rules, listed in the Type constants section below.See CSSRule on MDN

typecssRule= {
mutablecssText:string,
parentRule:Null.t<cssRule>,
parentStyleSheet:Null.t<cssStyleSheet>,
}

Record fields

cssText
string
parentRule
Null.t<cssRule >
parentStyleSheet
Null.t<cssStyleSheet >

cssRuleList

A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.See CSSRuleList on MDN

typecssRuleList= {length:int}

Record fields

cssStyleDeclaration

An object that is a CSS declaration block, and exposes style information and various style-related methods and properties.See CSSStyleDeclaration on MDN

typecssStyleDeclaration= {
mutablecssText:string,
length:int,
parentRule:Null.t<cssRule>,
mutablecx:string,
mutablecy:string,
mutabler:string,
mutablerx:string,
mutablery:string,
mutablex:string,
mutabley:string,
mutablevectorEffect:string,
mutabled:string,
mutabletextAnchor:string,
mutablefill:string,
mutablestroke:string,
mutablemarkerStart:string,
mutablemarkerMid:string,
mutablemarkerEnd:string,
mutablemarker:string,
mutablepaintOrder:string,
mutablecolorInterpolation:string,
mutableshapeRendering:string,
mutabletextRendering:string,
mutablepointerEvents:string,
mutablestopColor:string,
mutablestopOpacity:string,
mutablewebkitTextFillColor:string,
mutablewebkitTextStrokeColor:string,
mutablewebkitTextStrokeWidth:string,
mutablewebkitTextStroke:string,
mutabletouchAction:string,
mutablepositionArea:string,
mutabletop:string,
mutableleft:string,
mutableright:string,
mutablebottom:string,
mutablejustifySelf:string,
mutablealignSelf:string,
mutablejustifyItems:string,
mutablealignItems:string,
mutablewidth:string,
mutableheight:string,
mutableminWidth:string,
mutableminHeight:string,
mutablemaxWidth:string,
mutablemaxHeight:string,
mutablemarginTop:string,
mutablemarginLeft:string,
mutablemarginRight:string,
mutablemarginBottom:string,
mutableanimationDuration:string,
mutableanimationComposition:string,
mutableanimationName:string,
mutableanimationTimingFunction:string,
mutableanimationIterationCount:string,
mutableanimationDirection:string,
mutableanimationPlayState:string,
mutableanimationDelay:string,
mutableanimationFillMode:string,
mutableanimation:string,
mutableall:string,
mutablecontainerType:string,
mutablecontainerName:string,
mutablecontainer:string,
mutablecontain:string,
mutablecontentVisibility:string,
mutablefontFamily:string,
mutablefontWeight:string,
mutablefontStyle:string,
mutablefontSize:string,
mutablefontSizeAdjust:string,
mutablefont:string,
mutablefontSynthesisWeight:string,
mutablefontSynthesisStyle:string,
mutablefontSynthesisSmallCaps:string,
mutablefontSynthesis:string,
mutablefontKerning:string,
mutablefontVariantLigatures:string,
mutablefontVariantPosition:string,
mutablefontVariantCaps:string,
mutablefontVariantNumeric:string,
mutablefontVariantAlternates:string,
mutablefontVariantEastAsian:string,
mutablefontVariant:string,
mutablefontFeatureSettings:string,
mutablefontOpticalSizing:string,
mutablefontVariationSettings:string,
mutablefontPalette:string,
mutablefontStretch:string,
mutableobjectFit:string,
mutableclipPath:string,
mutableclipRule:string,
mutablemaskImage:string,
mutablemaskMode:string,
mutablemaskRepeat:string,
mutablemaskPosition:string,
mutablemaskClip:string,
mutablemaskOrigin:string,
mutablemaskSize:string,
mutablemaskComposite:string,
mutablemask:string,
mutablemaskType:string,
mutabletransitionBehavior:string,
mutabletransitionProperty:string,
mutabletransitionDuration:string,
mutabletransitionTimingFunction:string,
mutabletransitionDelay:string,
mutabletransition:string,
mutableviewTransitionName:string,
mutablezoom:string,
mutablefilter:string,
mutablecolorInterpolationFilters:string,
mutabledisplay:string,
mutabletextTransform:string,
mutablemathStyle:string,
mutablemathDepth:string,
mutablezIndex:string,
mutablepageBreakBefore:string,
mutablepageBreakAfter:string,
mutablepageBreakInside:string,
mutablemixBlendMode:string,
mutableisolation:string,
mutablebackgroundBlendMode:string,
mutablealignContent:string,
mutablejustifyContent:string,
mutableplaceContent:string,
mutableplaceSelf:string,
mutableplaceItems:string,
mutablerowGap:string,
mutablecolumnGap:string,
mutablegap:string,
mutablebackgroundRepeat:string,
mutablebackgroundPosition:string,
mutablebackgroundPositionX:string,
mutablebackgroundPositionY:string,
mutablebackgroundClip:string,
mutablebackgroundColor:string,
mutablebackgroundImage:string,
mutablebackgroundAttachment:string,
mutablebackgroundOrigin:string,
mutablebackgroundSize:string,
mutablebackground:string,
mutableborderStyle:string,
mutableborderWidth:string,
mutableborder:string,
mutableborderImageSource:string,
mutableborderImageSlice:string,
mutableborderImageWidth:string,
mutableborderImageOutset:string,
mutableborderImageRepeat:string,
mutableborderImage:string,
mutableborderTopColor:string,
mutableborderRightColor:string,
mutableborderBottomColor:string,
mutableborderLeftColor:string,
mutableborderBlockStartColor:string,
mutableborderBlockEndColor:string,
mutableborderInlineStartColor:string,
mutableborderInlineEndColor:string,
mutableborderColor:string,
mutableborderBlockColor:string,
mutableborderInlineColor:string,
mutableborderTopStyle:string,
mutableborderRightStyle:string,
mutableborderBottomStyle:string,
mutableborderLeftStyle:string,
mutableborderBlockStartStyle:string,
mutableborderBlockEndStyle:string,
mutableborderInlineStartStyle:string,
mutableborderInlineEndStyle:string,
mutableborderBlockStyle:string,
mutableborderInlineStyle:string,
mutableborderTopWidth:string,
mutableborderRightWidth:string,
mutableborderBottomWidth:string,
mutableborderLeftWidth:string,
mutableborderBlockStartWidth:string,
mutableborderBlockEndWidth:string,
mutableborderInlineStartWidth:string,
mutableborderInlineEndWidth:string,
mutableborderBlockWidth:string,
mutableborderInlineWidth:string,
mutableborderTop:string,
mutableborderRight:string,
mutableborderBottom:string,
mutableborderLeft:string,
mutableborderBlockStart:string,
mutableborderBlockEnd:string,
mutableborderInlineStart:string,
mutableborderInlineEnd:string,
mutableborderBlock:string,
mutableborderInline:string,
mutableborderTopLeftRadius:string,
mutableborderTopRightRadius:string,
mutableborderBottomRightRadius:string,
mutableborderBottomLeftRadius:string,
mutableborderStartStartRadius:string,
mutableborderStartEndRadius:string,
mutableborderEndStartRadius:string,
mutableborderEndEndRadius:string,
mutableborderRadius:string,
mutableboxShadow:string,
mutablemargin:string,
mutablepaddingTop:string,
mutablepaddingRight:string,
mutablepaddingBottom:string,
mutablepaddingLeft:string,
mutablepadding:string,
mutablebreakBefore:string,
mutablebreakAfter:string,
mutablebreakInside:string,
mutableorphans:string,
mutablewidows:string,
mutableboxDecorationBreak:string,
mutablecolorScheme:string,
mutableforcedColorAdjust:string,
mutableprintColorAdjust:string,
mutablecolor:string,
mutableopacity:string,
mutablecontent:string,
mutablequotes:string,
mutableorder:string,
mutablevisibility:string,
mutableflexDirection:string,
mutableflexWrap:string,
mutableflexFlow:string,
mutableflex:string,
mutableflexGrow:string,
mutableflexShrink:string,
mutableflexBasis:string,
mutableposition:string,
mutablefloat:string,
mutablegridTemplateColumns:string,
mutablegridTemplateRows:string,
mutablegridAutoFlow:string,
mutablegridTemplateAreas:string,
mutablegridTemplate:string,
mutablegridAutoColumns:string,
mutablegridAutoRows:string,
mutablegrid:string,
mutablegridRowStart:string,
mutablegridColumnStart:string,
mutablegridRowEnd:string,
mutablegridColumnEnd:string,
mutablegridRow:string,
mutablegridColumn:string,
mutablegridArea:string,
mutableobjectPosition:string,
mutableimageRendering:string,
mutabledominantBaseline:string,
mutableverticalAlign:string,
mutablelineHeight:string,
mutablelistStyleImage:string,
mutablelistStyleType:string,
mutablelistStylePosition:string,
mutablelistStyle:string,
mutablecounterReset:string,
mutablecounterIncrement:string,
mutablecounterSet:string,
mutableblockSize:string,
mutableinlineSize:string,
mutableminBlockSize:string,
mutableminInlineSize:string,
mutablemaxBlockSize:string,
mutablemaxInlineSize:string,
mutablemarginBlockStart:string,
mutablemarginBlockEnd:string,
mutablemarginInlineStart:string,
mutablemarginInlineEnd:string,
mutablemarginBlock:string,
mutablemarginInline:string,
mutablepaddingBlockStart:string,
mutablepaddingBlockEnd:string,
mutablepaddingInlineStart:string,
mutablepaddingInlineEnd:string,
mutablepaddingBlock:string,
mutablepaddingInline:string,
mutablecolumnSpan:string,
mutablecolumnWidth:string,
mutablecolumnCount:string,
mutablecolumns:string,
mutablecolumnRuleColor:string,
mutablecolumnRuleStyle:string,
mutablecolumnRuleWidth:string,
mutablecolumnRule:string,
mutablecolumnFill:string,
mutableoverflowClipMargin:string,
mutabletextOverflow:string,
mutableoverflowX:string,
mutableoverflowY:string,
mutableoverflow:string,
mutablescrollBehavior:string,
mutablescrollbarGutter:string,
mutableoverscrollBehavior:string,
mutableoverscrollBehaviorX:string,
mutableoverscrollBehaviorY:string,
mutableoverscrollBehaviorInline:string,
mutableoverscrollBehaviorBlock:string,
mutableclear:string,
mutablepage:string,
mutableinsetBlockStart:string,
mutableinsetInlineStart:string,
mutableinsetBlockEnd:string,
mutableinsetInlineEnd:string,
mutableinsetBlock:string,
mutableinsetInline:string,
mutableinset:string,
mutablerubyPosition:string,
mutablerubyAlign:string,
mutableoverflowAnchor:string,
mutablescrollSnapType:string,
mutablescrollPadding:string,
mutablescrollMargin:string,
mutablescrollSnapAlign:string,
mutablescrollSnapStop:string,
mutablescrollPaddingTop:string,
mutablescrollPaddingRight:string,
mutablescrollPaddingBottom:string,
mutablescrollPaddingLeft:string,
mutablescrollPaddingInlineStart:string,
mutablescrollPaddingBlockStart:string,
mutablescrollPaddingInlineEnd:string,
mutablescrollPaddingBlockEnd:string,
mutablescrollPaddingBlock:string,
mutablescrollPaddingInline:string,
mutablescrollMarginTop:string,
mutablescrollMarginRight:string,
mutablescrollMarginBottom:string,
mutablescrollMarginLeft:string,
mutablescrollMarginBlockStart:string,
mutablescrollMarginInlineStart:string,
mutablescrollMarginBlockEnd:string,
mutablescrollMarginInlineEnd:string,
mutablescrollMarginBlock:string,
mutablescrollMarginInline:string,
mutablescrollbarColor:string,
mutablescrollbarWidth:string,
mutableshapeOutside:string,
mutableshapeImageThreshold:string,
mutableshapeMargin:string,
mutableaspectRatio:string,
mutablecontainIntrinsicWidth:string,
mutablecontainIntrinsicHeight:string,
mutablecontainIntrinsicBlockSize:string,
mutablecontainIntrinsicInlineSize:string,
mutablecontainIntrinsicSize:string,
mutableboxSizing:string,
mutabletableLayout:string,
mutableborderCollapse:string,
mutableborderSpacing:string,
mutablecaptionSide:string,
mutableemptyCells:string,
mutablewhiteSpace:string,
mutablewhiteSpaceCollapse:string,
mutabletabSize:string,
mutabletextWrapMode:string,
mutabletextWrapStyle:string,
mutabletextWrap:string,
mutablewordBreak:string,
mutablelineBreak:string,
mutablehyphens:string,
mutablehyphenateCharacter:string,
mutableoverflowWrap:string,
mutabletextAlign:string,
mutabletextAlignLast:string,
mutablewordSpacing:string,
mutableletterSpacing:string,
mutabletextIndent:string,
mutabletextDecorationLine:string,
mutabletextDecorationStyle:string,
mutabletextDecorationColor:string,
mutabletextDecorationThickness:string,
mutabletextDecoration:string,
mutabletextUnderlinePosition:string,
mutabletextUnderlineOffset:string,
mutabletextDecorationSkipInk:string,
mutabletextEmphasisStyle:string,
mutabletextEmphasisColor:string,
mutabletextEmphasis:string,
mutabletextEmphasisPosition:string,
mutabletextShadow:string,
mutabletranslate:string,
mutablerotate:string,
mutablescale:string,
mutabletransformStyle:string,
mutableperspective:string,
mutableperspectiveOrigin:string,
mutablebackfaceVisibility:string,
mutabletransform:string,
mutabletransformOrigin:string,
mutabletransformBox:string,
mutableoutline:string,
mutableoutlineWidth:string,
mutableoutlineStyle:string,
mutableoutlineColor:string,
mutableoutlineOffset:string,
mutableresize:string,
mutablecursor:string,
mutablecaretColor:string,
mutableuserSelect:string,
mutableaccentColor:string,
mutableappearance:string,
mutablewillChange:string,
mutabledirection:string,
mutableunicodeBidi:string,
mutablewritingMode:string,
mutabletextOrientation:string,
mutabletextCombineUpright:string,
mutablefillRule:string,
mutablefillOpacity:string,
mutablestrokeWidth:string,
mutablestrokeLinecap:string,
mutablestrokeLinejoin:string,
mutablestrokeMiterlimit:string,
mutablestrokeDasharray:string,
mutablestrokeDashoffset:string,
mutablestrokeOpacity:string,
mutablebackdropFilter:string,
mutableoffsetPath:string,
mutableoffsetDistance:string,
mutableoffsetPosition:string,
mutableoffsetAnchor:string,
mutableoffsetRotate:string,
mutableoffset:string,
mutablecssFloat:string,
}

Record fields

cssText
string
parentRule
Null.t<cssRule >
vectorEffect
string
textAnchor
string
fill
string
stroke
string
markerStart
string
markerMid
string
markerEnd
string
marker
string
paintOrder
string
colorInterpolation
string
shapeRendering
string
textRendering
string
pointerEvents
string
stopColor
string
stopOpacity
string
webkitTextFillColor
string
webkitTextStrokeColor
string
webkitTextStrokeWidth
string
webkitTextStroke
string
touchAction
string
positionArea
string
left
string
right
string
bottom
string
justifySelf
string
alignSelf
string
justifyItems
string
alignItems
string
width
string
height
string
minWidth
string
minHeight
string
maxWidth
string
maxHeight
string
marginTop
string
marginLeft
string
marginRight
string
marginBottom
string
animationDuration
string
animationComposition
string
animationName
string
animationTimingFunction
string
animationIterationCount
string
animationDirection
string
animationPlayState
string
animationDelay
string
animationFillMode
string
animation
string
containerType
string
containerName
string
container
string
contain
string
contentVisibility
string
fontFamily
string
fontWeight
string
fontStyle
string
fontSize
string
fontSizeAdjust
string
font
string
fontSynthesisWeight
string
fontSynthesisStyle
string
fontSynthesisSmallCaps
string
fontSynthesis
string
fontKerning
string
fontVariantLigatures
string
fontVariantPosition
string
fontVariantCaps
string
fontVariantNumeric
string
fontVariantAlternates
string
fontVariantEastAsian
string
fontVariant
string
fontFeatureSettings
string
fontOpticalSizing
string
fontVariationSettings
string
fontPalette
string
fontStretch
string
objectFit
string
clipPath
string
clipRule
string
maskImage
string
maskMode
string
maskRepeat
string
maskPosition
string
maskClip
string
maskOrigin
string
maskSize
string
maskComposite
string
mask
string
maskType
string
transitionBehavior
string
transitionProperty
string
transitionDuration
string
transitionTimingFunction
string
transitionDelay
string
transition
string
viewTransitionName
string
zoom
string
filter
string
colorInterpolationFilters
string
display
string
textTransform
string
mathStyle
string
mathDepth
string
zIndex
string
pageBreakBefore
string
pageBreakAfter
string
pageBreakInside
string
mixBlendMode
string
isolation
string
backgroundBlendMode
string
alignContent
string
justifyContent
string
placeContent
string
placeSelf
string
placeItems
string
rowGap
string
columnGap
string
backgroundRepeat
string
backgroundPosition
string
backgroundPositionX
string
backgroundPositionY
string
backgroundClip
string
backgroundColor
string
backgroundImage
string
backgroundAttachment
string
backgroundOrigin
string
backgroundSize
string
background
string
borderStyle
string
borderWidth
string
border
string
borderImageSource
string
borderImageSlice
string
borderImageWidth
string
borderImageOutset
string
borderImageRepeat
string
borderImage
string
borderTopColor
string
borderRightColor
string
borderBottomColor
string
borderLeftColor
string
borderBlockStartColor
string
borderBlockEndColor
string
borderInlineStartColor
string
borderInlineEndColor
string
borderColor
string
borderBlockColor
string
borderInlineColor
string
borderTopStyle
string
borderRightStyle
string
borderBottomStyle
string
borderLeftStyle
string
borderBlockStartStyle
string
borderBlockEndStyle
string
borderInlineStartStyle
string
borderInlineEndStyle
string
borderBlockStyle
string
borderInlineStyle
string
borderTopWidth
string
borderRightWidth
string
borderBottomWidth
string
borderLeftWidth
string
borderBlockStartWidth
string
borderBlockEndWidth
string
borderInlineStartWidth
string
borderInlineEndWidth
string
borderBlockWidth
string
borderInlineWidth
string
borderTop
string
borderRight
string
borderBottom
string
borderLeft
string
borderBlockStart
string
borderBlockEnd
string
borderInlineStart
string
borderInlineEnd
string
borderBlock
string
borderInline
string
borderTopLeftRadius
string
borderTopRightRadius
string
borderBottomRightRadius
string
borderBottomLeftRadius
string
borderStartStartRadius
string
borderStartEndRadius
string
borderEndStartRadius
string
borderEndEndRadius
string
borderRadius
string
boxShadow
string
margin
string
paddingTop
string
paddingRight
string
paddingBottom
string
paddingLeft
string
padding
string
breakBefore
string
breakAfter
string
breakInside
string
orphans
string
widows
string
boxDecorationBreak
string
colorScheme
string
forcedColorAdjust
string
printColorAdjust
string
color
string
opacity
string
content
string
quotes
string
order
string
visibility
string
flexDirection
string
flexWrap
string
flexFlow
string
flex
string
flexGrow
string
flexShrink
string
flexBasis
string
position
string
float
string
gridTemplateColumns
string
gridTemplateRows
string
gridAutoFlow
string
gridTemplateAreas
string
gridTemplate
string
gridAutoColumns
string
gridAutoRows
string
grid
string
gridRowStart
string
gridColumnStart
string
gridRowEnd
string
gridColumnEnd
string
gridRow
string
gridColumn
string
gridArea
string
objectPosition
string
imageRendering
string
dominantBaseline
string
verticalAlign
string
lineHeight
string
listStyleImage
string
listStyleType
string
listStylePosition
string
listStyle
string
counterReset
string
counterIncrement
string
counterSet
string
blockSize
string
inlineSize
string
minBlockSize
string
minInlineSize
string
maxBlockSize
string
maxInlineSize
string
marginBlockStart
string
marginBlockEnd
string
marginInlineStart
string
marginInlineEnd
string
marginBlock
string
marginInline
string
paddingBlockStart
string
paddingBlockEnd
string
paddingInlineStart
string
paddingInlineEnd
string
paddingBlock
string
paddingInline
string
columnSpan
string
columnWidth
string
columnCount
string
columns
string
columnRuleColor
string
columnRuleStyle
string
columnRuleWidth
string
columnRule
string
columnFill
string
overflowClipMargin
string
textOverflow
string
overflowX
string
overflowY
string
overflow
string
scrollBehavior
string
scrollbarGutter
string
overscrollBehavior
string
overscrollBehaviorX
string
overscrollBehaviorY
string
overscrollBehaviorInline
string
overscrollBehaviorBlock
string
clear
string
page
string
insetBlockStart
string
insetInlineStart
string
insetBlockEnd
string
insetInlineEnd
string
insetBlock
string
insetInline
string
inset
string
rubyPosition
string
rubyAlign
string
overflowAnchor
string
scrollSnapType
string
scrollPadding
string
scrollMargin
string
scrollSnapAlign
string
scrollSnapStop
string
scrollPaddingTop
string
scrollPaddingRight
string
scrollPaddingBottom
string
scrollPaddingLeft
string
scrollPaddingInlineStart
string
scrollPaddingBlockStart
string
scrollPaddingInlineEnd
string
scrollPaddingBlockEnd
string
scrollPaddingBlock
string
scrollPaddingInline
string
scrollMarginTop
string
scrollMarginRight
string
scrollMarginBottom
string
scrollMarginLeft
string
scrollMarginBlockStart
string
scrollMarginInlineStart
string
scrollMarginBlockEnd
string
scrollMarginInlineEnd
string
scrollMarginBlock
string
scrollMarginInline
string
scrollbarColor
string
scrollbarWidth
string
shapeOutside
string
shapeImageThreshold
string
shapeMargin
string
aspectRatio
string
containIntrinsicWidth
string
containIntrinsicHeight
string
containIntrinsicBlockSize
string
containIntrinsicInlineSize
string
containIntrinsicSize
string
boxSizing
string
tableLayout
string
borderCollapse
string
borderSpacing
string
captionSide
string
emptyCells
string
whiteSpace
string
whiteSpaceCollapse
string
tabSize
string
textWrapMode
string
textWrapStyle
string
textWrap
string
wordBreak
string
lineBreak
string
hyphens
string
hyphenateCharacter
string
overflowWrap
string
textAlign
string
textAlignLast
string
wordSpacing
string
letterSpacing
string
textIndent
string
textDecorationLine
string
textDecorationStyle
string
textDecorationColor
string
textDecorationThickness
string
textDecoration
string
textUnderlinePosition
string
textUnderlineOffset
string
textDecorationSkipInk
string
textEmphasisStyle
string
textEmphasisColor
string
textEmphasis
string
textEmphasisPosition
string
textShadow
string
translate
string
rotate
string
scale
string
transformStyle
string
perspective
string
perspectiveOrigin
string
backfaceVisibility
string
transform
string
transformOrigin
string
transformBox
string
outline
string
outlineWidth
string
outlineStyle
string
outlineColor
string
outlineOffset
string
resize
string
cursor
string
caretColor
string
userSelect
string
accentColor
string
appearance
string
willChange
string
direction
string
unicodeBidi
string
writingMode
string
textOrientation
string
textCombineUpright
string
fillRule
string
fillOpacity
string
strokeWidth
string
strokeLinecap
string
strokeLinejoin
string
strokeMiterlimit
string
strokeDasharray
string
strokeDashoffset
string
strokeOpacity
string
backdropFilter
string
offsetPath
string
offsetDistance
string
offsetPosition
string
offsetAnchor
string
offsetRotate
string
offset
string
cssFloat
string

cssStyleSheet

A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.See CSSStyleSheet on MDN

typecssStyleSheet= {
type_:string,
href:Null.t<string>,
ownerNode:Null.t<unknown>,
parentStyleSheet:Null.t<cssStyleSheet>,
title:Null.t<string>,
media:mediaList,
mutabledisabled:bool,
ownerRule:Null.t<cssRule>,
cssRules:cssRuleList,
}

Record fields

type_
string
href
Null.t< string >
ownerNode
Null.t< unknown >
parentStyleSheet
Null.t<cssStyleSheet >
title
Null.t< string >
disabled
bool
ownerRule
Null.t<cssRule >

cssStyleSheetInit

typecssStyleSheetInit= {
mutablebaseURL?:string,
mutablemedia?:unknown,
mutabledisabled?:bool,
}

Record fields

baseURL
option< string >
media
option< unknown >
disabled
option< bool >

cssStyleValue

typecssStyleValue= {}

customElementConstructor

typecustomElementConstructor=htmlElement

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

customElementRegistry

typecustomElementRegistry= {}

Module

There are methods and helpers defined in CustomElementRegistry.

customStateSet

typecustomStateSet= {}

document

Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.See Document on MDN

typedocument= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
implementation:domImplementation,
uRL:string,
documentURI:string,
compatMode:string,
characterSet:string,
contentType:string,
doctype:Null.t<documentType>,
documentElement:htmlElement,
scrollingElement:Null.t<element>,
fullscreenEnabled:bool,
mutablelocation:location,
referrer:string,
mutablecookie:string,
lastModified:string,
readyState:documentReadyState,
mutabletitle:string,
mutabledir:string,
mutablebody:htmlElement,
head:htmlHeadElement,
images:htmlCollectionOf<htmlImageElement>,
embeds:htmlCollectionOf<htmlEmbedElement>,
plugins:htmlCollectionOf<htmlEmbedElement>,
links:htmlCollectionOf<WebAPI.Prelude.any>,
forms:htmlCollectionOf<htmlFormElement>,
scripts:htmlCollectionOf<htmlScriptElement>,
currentScript:Null.t<htmlElement>,
defaultView:Null.t<window>,
mutabledesignMode:string,
hidden:bool,
visibilityState:documentVisibilityState,
pictureInPictureEnabled:bool,
fragmentDirective:fragmentDirective,
timeline:documentTimeline,
fonts:WebAPI.CSSFontLoadingAPI.fontFaceSet,
styleSheets:styleSheetList,
mutableadoptedStyleSheets:array<cssStyleSheet>,
fullscreenElement:Null.t<element>,
activeElement:Null.t<element>,
pictureInPictureElement:Null.t<element>,
pointerLockElement:Null.t<element>,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
implementation

Gets the implementation object of the current document.Read more on MDN

uRL
string

Sets or gets the URL for the current document.Read more on MDN

documentURI
string

Returns document's URL.Read more on MDN

compatMode
string

Gets a value that indicates whether standards-compliant mode is switched on for the object.Read more on MDN

characterSet
string

Returns document's encoding.Read more on MDN

contentType
string

Returns document's content type.Read more on MDN

doctype
Null.t<documentType >

Gets an object representing the document type declaration associated with the current document.Read more on MDN

documentElement

Gets a reference to the root node of the document.Read more on MDN

scrollingElement
Null.t<element >
fullscreenEnabled
bool

Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.Read more on MDN

location

Contains information about the current URL.Read more on MDN

referrer
string

Gets the URL of the location that referred the user to the current page.Read more on MDN

cookie
string

Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.

Can be set, to add a new cookie to the element's set of HTTP cookies.

If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting.Read more on MDN

lastModified
string

Gets the date that the page was last modified, if the page supplies one.Read more on MDN

readyState

Retrieves a value that indicates the current state of the object.Read more on MDN

title
string

Contains the title of the document.Read more on MDN

dir
string

Sets or retrieves a value that indicates the reading order of the object.Read more on MDN

body

Specifies the beginning and end of the document body.Read more on MDN

head

Returns the head element.Read more on MDN

images

Retrieves a collection, in source order, of img objects in the document.Read more on MDN

embeds

Retrieves a collection of all embed objects in the document.Read more on MDN

plugins

Return an HTMLCollection of the embed elements in the Document.Read more on MDN

links

Retrieves a collection of all a objects that specify the href property and all area objects in the document.Read more on MDN

forms

Retrieves a collection, in source order, of all form objects in the document.Read more on MDN

scripts

Retrieves a collection of all script objects in the document.Read more on MDN

currentScript
Null.t<htmlElement >

Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.

Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.Read more on MDN

defaultView
Null.t<window >

Returns the Window object of the active document.Read more on MDN

designMode
string

Sets or gets a value that indicates whether the document can be edited.Read more on MDN

hidden
bool
pictureInPictureEnabled
bool
styleSheets

Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.Read more on MDN

adoptedStyleSheets
array<cssStyleSheet >
fullscreenElement
Null.t<element >

Returns document's fullscreen element.Read more on MDN

activeElement
Null.t<element >

Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document.

For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.

Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.Read more on MDN

pictureInPictureElement
Null.t<element >
pointerLockElement
Null.t<element >
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int

Module

There are methods and helpers defined in Document.

documentFragment

A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made.See DocumentFragment on MDN

typedocumentFragment= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int

Module

There are methods and helpers defined in DocumentFragment.

documentReadyState

typedocumentReadyState=
| @as("complete")Complete
| @as("interactive")Interactive
| @as("loading")Loading

documentTimeline

typedocumentTimeline= {currentTime:Null.t<float>}

Record fields

currentTime
Null.t< float >

Module

There are methods and helpers defined in DocumentTimeline.

documentTimelineOptions

typedocumentTimelineOptions= {mutableoriginTime?:float}

Record fields

originTime
option< float >

documentType

A Node containing a doctype.See DocumentType on MDN

typedocumentType= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
name:string,
publicId:string,
systemId:string,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
name
string
publicId
string
systemId
string

documentVisibilityState

typedocumentVisibilityState=
| @as("hidden")Hidden
| @as("visible")Visible

domImplementation

An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.See DOMImplementation on MDN

typedomImplementation= {}

domMatrix

typedomMatrix= {
a:float,
b:float,
c:float,
d:float,
e:float,
f:float,
m11:float,
m12:float,
m13:float,
m14:float,
m21:float,
m22:float,
m23:float,
m24:float,
m31:float,
m32:float,
m33:float,
m34:float,
m41:float,
m42:float,
m43:float,
m44:float,
}

Record fields

domMatrix2DInit

typedomMatrix2DInit= {
mutablea?:float,
mutableb?:float,
mutablec?:float,
mutabled?:float,
mutablee?:float,
mutablef?:float,
mutablem11?:float,
mutablem12?:float,
mutablem21?:float,
mutablem22?:float,
mutablem41?:float,
mutablem42?:float,
}

Record fields

a
option< float >
b
option< float >
c
option< float >
d
option< float >
e
option< float >
f
option< float >
m11
option< float >
m12
option< float >
m21
option< float >
m22
option< float >
m41
option< float >
m42
option< float >

domMatrixInit

typedomMatrixInit= {
mutablea?:float,
mutableb?:float,
mutablec?:float,
mutabled?:float,
mutablee?:float,
mutablef?:float,
mutablem11?:float,
mutablem12?:float,
mutablem21?:float,
mutablem22?:float,
mutablem41?:float,
mutablem42?:float,
mutablem13?:float,
mutablem14?:float,
mutablem23?:float,
mutablem24?:float,
mutablem31?:float,
mutablem32?:float,
mutablem33?:float,
mutablem34?:float,
mutablem43?:float,
mutablem44?:float,
mutableis2D?:bool,
}

Record fields

a
option< float >
b
option< float >
c
option< float >
d
option< float >
e
option< float >
f
option< float >
m11
option< float >
m12
option< float >
m21
option< float >
m22
option< float >
m41
option< float >
m42
option< float >
m13
option< float >
m14
option< float >
m23
option< float >
m24
option< float >
m31
option< float >
m32
option< float >
m33
option< float >
m34
option< float >
m43
option< float >
m44
option< float >
is2D
option< bool >

domMatrixReadOnly

typedomMatrixReadOnly= {
a:float,
b:float,
c:float,
d:float,
e:float,
f:float,
m11:float,
m12:float,
m13:float,
m14:float,
m21:float,
m22:float,
m23:float,
m24:float,
m31:float,
m32:float,
m33:float,
m34:float,
m41:float,
m42:float,
m43:float,
m44:float,
}

Record fields

domPoint

typedomPoint= {x:float,y:float,z:float,w:float}

Record fields

domPointInit

typedomPointInit= {
mutablex?:float,
mutabley?:float,
mutablez?:float,
mutablew?:float,
}

Record fields

x
option< float >
y
option< float >
z
option< float >
w
option< float >

domPointReadOnly

typedomPointReadOnly= {
x:float,
y:float,
z:float,
w:float,
}

Record fields

domRect

typedomRect= {
x:float,
y:float,
width:float,
height:float,
top:float,
right:float,
bottom:float,
left:float,
}

Record fields

width
float
height
float
right
float
bottom
float

domRectInit

typedomRectInit= {
mutablex?:float,
mutabley?:float,
mutablewidth?:float,
mutableheight?:float,
}

Record fields

x
option< float >
y
option< float >
width
option< float >
height
option< float >

domRectList

typedomRectList= {}

domRectReadOnly

typedomRectReadOnly= {
x:float,
y:float,
width:float,
height:float,
top:float,
right:float,
bottom:float,
left:float,
}

Record fields

width
float
height
float
right
float
bottom
float

domStringMap

Used by the dataset HTML attribute to represent data for custom attributes added to elements.See DOMStringMap on MDN

typedomStringMap= {}

domTokenList

A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive.See DOMTokenList on MDN

typedomTokenList= {length:int,mutablevalue:string}

Record fields

length
int

Returns the number of tokens.Read more on MDN

value
string

Returns the associated set as string.

Can be set, to change the associated attribute.Read more on MDN

effectTiming

typeeffectTiming= {
mutablefill?:fillMode,
mutableiterationStart?:float,
mutableiterations?:float,
mutabledirection?:playbackDirection,
mutableeasing?:string,
mutabledelay?:float,
mutableendDelay?:float,
mutableplaybackRate?:float,
mutableduration?:unknown,
}

Record fields

fill
option<fillMode >
iterationStart
option< float >
iterations
option< float >
direction
easing
option< string >
delay
option< float >
endDelay
option< float >
playbackRate
option< float >
duration
option< unknown >

element

Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element.See Element on MDN

typeelement= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
assignedSlot:Null.t<htmlSlotElement>,
mutableariaAtomic:Null.t<string>,
mutableariaAutoComplete:Null.t<string>,
mutableariaBrailleLabel:Null.t<string>,
mutableariaBrailleRoleDescription:Null.t<string>,
mutableariaBusy:Null.t<string>,
mutableariaChecked:Null.t<string>,
mutableariaColCount:Null.t<string>,
mutableariaColIndex:Null.t<string>,
mutableariaColIndexText:Null.t<string>,
mutableariaColSpan:Null.t<string>,
mutableariaCurrent:Null.t<string>,
mutableariaDescription:Null.t<string>,
mutableariaDisabled:Null.t<string>,
mutableariaExpanded:Null.t<string>,
mutableariaHasPopup:Null.t<string>,
mutableariaHidden:Null.t<string>,
mutableariaKeyShortcuts:Null.t<string>,
mutableariaLabel:Null.t<string>,
mutableariaLevel:Null.t<string>,
mutableariaLive:Null.t<string>,
mutableariaModal:Null.t<string>,
mutableariaMultiLine:Null.t<string>,
mutableariaMultiSelectable:Null.t<string>,
mutableariaOrientation:Null.t<string>,
mutableariaPlaceholder:Null.t<string>,
mutableariaPosInSet:Null.t<string>,
mutableariaPressed:Null.t<string>,
mutableariaReadOnly:Null.t<string>,
mutableariaRequired:Null.t<string>,
mutableariaRoleDescription:Null.t<string>,
mutableariaRowCount:Null.t<string>,
mutableariaRowIndex:Null.t<string>,
mutableariaRowIndexText:Null.t<string>,
mutableariaRowSpan:Null.t<string>,
mutableariaSelected:Null.t<string>,
mutableariaSetSize:Null.t<string>,
mutableariaSort:Null.t<string>,
mutableariaValueMax:Null.t<string>,
mutableariaValueMin:Null.t<string>,
mutableariaValueNow:Null.t<string>,
mutableariaValueText:Null.t<string>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

assignedSlot
Null.t<htmlSlotElement >
ariaAtomic
Null.t< string >
ariaAutoComplete
Null.t< string >
ariaBrailleLabel
Null.t< string >
ariaBrailleRoleDescription
Null.t< string >
ariaBusy
Null.t< string >
ariaChecked
Null.t< string >
ariaColCount
Null.t< string >
ariaColIndex
Null.t< string >
ariaColIndexText
Null.t< string >
ariaColSpan
Null.t< string >
ariaCurrent
Null.t< string >
ariaDescription
Null.t< string >
ariaDisabled
Null.t< string >
ariaExpanded
Null.t< string >
ariaHasPopup
Null.t< string >
ariaHidden
Null.t< string >
ariaKeyShortcuts
Null.t< string >
ariaLabel
Null.t< string >
ariaLevel
Null.t< string >
ariaLive
Null.t< string >
ariaModal
Null.t< string >
ariaMultiLine
Null.t< string >
ariaMultiSelectable
Null.t< string >
ariaOrientation
Null.t< string >
ariaPlaceholder
Null.t< string >
ariaPosInSet
Null.t< string >
ariaPressed
Null.t< string >
ariaReadOnly
Null.t< string >
ariaRequired
Null.t< string >
ariaRoleDescription
Null.t< string >
ariaRowCount
Null.t< string >
ariaRowIndex
Null.t< string >
ariaRowIndexText
Null.t< string >
ariaRowSpan
Null.t< string >
ariaSelected
Null.t< string >
ariaSetSize
Null.t< string >
ariaSort
Null.t< string >
ariaValueMax
Null.t< string >
ariaValueMin
Null.t< string >
ariaValueNow
Null.t< string >
ariaValueText
Null.t< string >

Module

There are methods and helpers defined in Element.

elementCreationOptions

typeelementCreationOptions= {mutableis?:string}

Record fields

is
option< string >

elementDefinitionOptions

typeelementDefinitionOptions= {mutableextends?:string}

Record fields

extends
option< string >

elementInternals

typeelementInternals= {
shadowRoot:Null.t<shadowRoot>,
form:Null.t<htmlFormElement>,
willValidate:bool,
validity:validityState,
validationMessage:string,
labels:nodeList,
states:customStateSet,
mutableariaAtomic:Null.t<string>,
mutableariaAutoComplete:Null.t<string>,
mutableariaBrailleLabel:Null.t<string>,
mutableariaBrailleRoleDescription:Null.t<string>,
mutableariaBusy:Null.t<string>,
mutableariaChecked:Null.t<string>,
mutableariaColCount:Null.t<string>,
mutableariaColIndex:Null.t<string>,
mutableariaColIndexText:Null.t<string>,
mutableariaColSpan:Null.t<string>,
mutableariaCurrent:Null.t<string>,
mutableariaDescription:Null.t<string>,
mutableariaDisabled:Null.t<string>,
mutableariaExpanded:Null.t<string>,
mutableariaHasPopup:Null.t<string>,
mutableariaHidden:Null.t<string>,
mutableariaKeyShortcuts:Null.t<string>,
mutableariaLabel:Null.t<string>,
mutableariaLevel:Null.t<string>,
mutableariaLive:Null.t<string>,
mutableariaModal:Null.t<string>,
mutableariaMultiLine:Null.t<string>,
mutableariaMultiSelectable:Null.t<string>,
mutableariaOrientation:Null.t<string>,
mutableariaPlaceholder:Null.t<string>,
mutableariaPosInSet:Null.t<string>,
mutableariaPressed:Null.t<string>,
mutableariaReadOnly:Null.t<string>,
mutableariaRequired:Null.t<string>,
mutableariaRoleDescription:Null.t<string>,
mutableariaRowCount:Null.t<string>,
mutableariaRowIndex:Null.t<string>,
mutableariaRowIndexText:Null.t<string>,
mutableariaRowSpan:Null.t<string>,
mutableariaSelected:Null.t<string>,
mutableariaSetSize:Null.t<string>,
mutableariaSort:Null.t<string>,
mutableariaValueMax:Null.t<string>,
mutableariaValueMin:Null.t<string>,
mutableariaValueNow:Null.t<string>,
mutableariaValueText:Null.t<string>,
}

Record fields

shadowRoot
Null.t<shadowRoot >

Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise.Read more on MDN

form
Null.t<htmlFormElement >

Returns the form owner of internals's target element.Read more on MDN

willValidate
bool

Returns true if internals's target element will be validated when the form is submitted; false otherwise.Read more on MDN

validity

Returns the ValidityState object for internals's target element.Read more on MDN

validationMessage
string

Returns the error message that would be shown to the user if internals's target element was to be checked for validity.Read more on MDN

labels

Returns a NodeList of all the label elements that internals's target element is associated with.Read more on MDN

ariaAtomic
Null.t< string >
ariaAutoComplete
Null.t< string >
ariaBrailleLabel
Null.t< string >
ariaBrailleRoleDescription
Null.t< string >
ariaBusy
Null.t< string >
ariaChecked
Null.t< string >
ariaColCount
Null.t< string >
ariaColIndex
Null.t< string >
ariaColIndexText
Null.t< string >
ariaColSpan
Null.t< string >
ariaCurrent
Null.t< string >
ariaDescription
Null.t< string >
ariaDisabled
Null.t< string >
ariaExpanded
Null.t< string >
ariaHasPopup
Null.t< string >
ariaHidden
Null.t< string >
ariaKeyShortcuts
Null.t< string >
ariaLabel
Null.t< string >
ariaLevel
Null.t< string >
ariaLive
Null.t< string >
ariaModal
Null.t< string >
ariaMultiLine
Null.t< string >
ariaMultiSelectable
Null.t< string >
ariaOrientation
Null.t< string >
ariaPlaceholder
Null.t< string >
ariaPosInSet
Null.t< string >
ariaPressed
Null.t< string >
ariaReadOnly
Null.t< string >
ariaRequired
Null.t< string >
ariaRoleDescription
Null.t< string >
ariaRowCount
Null.t< string >
ariaRowIndex
Null.t< string >
ariaRowIndexText
Null.t< string >
ariaRowSpan
Null.t< string >
ariaSelected
Null.t< string >
ariaSetSize
Null.t< string >
ariaSort
Null.t< string >
ariaValueMax
Null.t< string >
ariaValueMin
Null.t< string >
ariaValueNow
Null.t< string >
ariaValueText
Null.t< string >

Module

There are methods and helpers defined in ElementInternals.

fileList

An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.See FileList on MDN

typefileList= {length:int}

Record fields

Module

There are methods and helpers defined in FileList.

fileSystemEntriesCallback

typefileSystemEntriesCallback=array<
WebAPI.FileAndDirectoryEntriesAPI.fileSystemEntry,
>=>unit

fillMode

typefillMode=
| @as("auto")Auto
| @as("backwards")Backwards
| @as("both")Both
| @as("forwards")Forwards
| @as("none")None

focusOptions

typefocusOptions= {mutablepreventScroll?:bool}

Record fields

preventScroll
option< bool >

fragmentDirective

typefragmentDirective= {}

frameRequestCallback

typeframeRequestCallback=float=>unit

fullscreenNavigationUI

typefullscreenNavigationUI=
| @as("auto")Auto
| @as("hide")Hide
| @as("show")Show

fullscreenOptions

typefullscreenOptions= {
mutablenavigationUI?:fullscreenNavigationUI,
}

Record fields

navigationUI

getAnimationsOptions

typegetAnimationsOptions= {mutablesubtree?:bool}

Record fields

subtree
option< bool >

getHTMLOptions

typegetHTMLOptions= {
mutableserializableShadowRoots?:bool,
mutableshadowRoots?:array<shadowRoot>,
}

Record fields

serializableShadowRoots
option< bool >
shadowRoots
option< array<shadowRoot > >

getRootNodeOptions

typegetRootNodeOptions= {mutablecomposed?:bool}

Record fields

composed
option< bool >

htmlAnchorElement

Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements.See HTMLAnchorElement on MDN

typehtmlAnchorElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletarget:string,
mutabledownload:string,
mutableping:string,
mutablerel:string,
relList:domTokenList,
mutablehreflang:string,
mutabletype_:string,
mutabletext:string,
mutablereferrerPolicy:string,
mutablehref:string,
origin:string,
mutableprotocol:string,
mutableusername:string,
mutablepassword:string,
mutablehost:string,
mutablehostname:string,
mutableport:string,
mutablepathname:string,
mutablesearch:string,
mutablehash:string,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
target
string

Sets or retrieves the window or frame at which to target content.Read more on MDN

download
string
ping
string
rel
string

Sets or retrieves the relationship between the object and the destination of the link.Read more on MDN

hreflang
string

Sets or retrieves the language code of the object.Read more on MDN

type_
string
text
string

Retrieves or sets the text of the object as a string.Read more on MDN

referrerPolicy
string
href
string

Returns the hyperlink's URL.

Can be set, to change the URL.Read more on MDN

origin
string

Returns the hyperlink's URL's origin.Read more on MDN

protocol
string

Returns the hyperlink's URL's scheme.

Can be set, to change the URL's scheme.Read more on MDN

username
string

Returns the hyperlink's URL's username.

Can be set, to change the URL's username.Read more on MDN

password
string

Returns the hyperlink's URL's password.

Can be set, to change the URL's password.Read more on MDN

host
string

Returns the hyperlink's URL's host and port (if different from the default port for the scheme).

Can be set, to change the URL's host and port.Read more on MDN

hostname
string

Returns the hyperlink's URL's host.

Can be set, to change the URL's host.Read more on MDN

port
string

Returns the hyperlink's URL's port.

Can be set, to change the URL's port.Read more on MDN

pathname
string

Returns the hyperlink's URL's path.

Can be set, to change the URL's path.Read more on MDN

search
string

Returns the hyperlink's URL's query (includes leading "?" if non-empty).

Can be set, to change the URL's query (ignores leading "?").Read more on MDN

hash
string

Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

Can be set, to change the URL's fragment (ignores leading "#").Read more on MDN

htmlAreaElement

Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements.See HTMLAreaElement on MDN

typehtmlAreaElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletarget:string,
mutableping:string,
mutablerel:string,
relList:domTokenList,
mutablereferrerPolicy:string,
mutablehref:string,
origin:string,
mutableprotocol:string,
mutableusername:string,
mutablepassword:string,
mutablehost:string,
mutablehostname:string,
mutableport:string,
mutablepathname:string,
mutablesearch:string,
mutablehash:string,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
target
string

Sets or retrieves the window or frame at which to target content.Read more on MDN

ping
string
referrerPolicy
string
href
string

Returns the hyperlink's URL.

Can be set, to change the URL.Read more on MDN

origin
string

Returns the hyperlink's URL's origin.Read more on MDN

protocol
string

Returns the hyperlink's URL's scheme.

Can be set, to change the URL's scheme.Read more on MDN

username
string

Returns the hyperlink's URL's username.

Can be set, to change the URL's username.Read more on MDN

password
string

Returns the hyperlink's URL's password.

Can be set, to change the URL's password.Read more on MDN

host
string

Returns the hyperlink's URL's host and port (if different from the default port for the scheme).

Can be set, to change the URL's host and port.Read more on MDN

hostname
string

Returns the hyperlink's URL's host.

Can be set, to change the URL's host.Read more on MDN

port
string

Returns the hyperlink's URL's port.

Can be set, to change the URL's port.Read more on MDN

pathname
string

Returns the hyperlink's URL's path.

Can be set, to change the URL's path.Read more on MDN

search
string

Returns the hyperlink's URL's query (includes leading "?" if non-empty).

Can be set, to change the URL's query (ignores leading "?").Read more on MDN

hash
string

Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

Can be set, to change the URL's fragment (ignores leading "#").Read more on MDN

htmlAudioElement

Provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface.See HTMLAudioElement on MDN

typehtmlAudioElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
error:Null.t<mediaError>,
mutablesrc:string,
mutablesrcObject:Null.t<mediaProvider>,
currentSrc:string,
mutablecrossOrigin:Null.t<string>,
networkState:int,
mutablepreload:string,
buffered:timeRanges,
readyState:int,
mutablecurrentTime:float,
duration:float,
paused:bool,
mutabledefaultPlaybackRate:float,
mutableplaybackRate:float,
mutablepreservesPitch:bool,
seekable:timeRanges,
ended:bool,
mutableautoplay:bool,
mutableloop:bool,
mutablecontrols:bool,
mutablevolume:float,
mutablemuted:bool,
mutabledefaultMuted:bool,
textTracks:textTrackList,
sinkId:string,
mediaKeys:Null.t<
WebAPI.EncryptedMediaExtensionsAPI.mediaKeys,
>,
remote:WebAPI.RemotePlaybackAPI.remotePlayback,
mutabledisableRemotePlayback:bool,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
error
Null.t<mediaError >

Returns an object representing the current error state of the audio or video element.Read more on MDN

src
string

The address or URL of the a media resource that is to be considered.Read more on MDN

currentSrc
string

Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.Read more on MDN

crossOrigin
Null.t< string >
networkState
int

Gets the current network activity for the element.Read more on MDN

preload
string

Gets or sets a value indicating what data should be preloaded, if any.Read more on MDN

buffered

Gets a collection of buffered time ranges.Read more on MDN

readyState
int
currentTime
float

Gets or sets the current playback position, in seconds.Read more on MDN

duration
float

Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.Read more on MDN

paused
bool

Gets a flag that specifies whether playback is paused.Read more on MDN

defaultPlaybackRate
float

Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.Read more on MDN

playbackRate
float

Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.Read more on MDN

preservesPitch
bool
seekable

Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.Read more on MDN

ended
bool

Gets information about whether the playback has ended or not.Read more on MDN

autoplay
bool

Gets or sets a value that indicates whether to start playing the media automatically.Read more on MDN

loop
bool

Gets or sets a flag to specify whether playback should restart after it completes.Read more on MDN

controls
bool

Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).Read more on MDN

volume
float

Gets or sets the volume level for audio portions of the media element.Read more on MDN

muted
bool

Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.Read more on MDN

defaultMuted
bool
sinkId
string
disableRemotePlayback
bool

htmlBaseElement

Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.See HTMLBaseElement on MDN

typehtmlBaseElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablehref:string,
mutabletarget:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
href
string

Gets or sets the baseline URL on which relative links are based.Read more on MDN

target
string

Sets or retrieves the window or frame at which to target content.Read more on MDN

htmlBodyElement

Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements.See HTMLBodyElement on MDN

typehtmlBodyElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlbrElement

A HTML line break element (<br>). It inherits from HTMLElement.See HTMLBRElement on MDN

typehtmlbrElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlButtonElement

Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements.See HTMLButtonElement on MDN

typehtmlButtonElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledisabled:bool,
form:Null.t<htmlFormElement>,
mutableformAction:string,
mutableformEnctype:string,
mutableformMethod:string,
mutablename:string,
mutabletype_:string,
mutablevalue:string,
willValidate:bool,
validity:validityState,
validationMessage:string,
labels:nodeListOf<htmlLabelElement>,
mutablepopoverTargetElement:Null.t<element>,
mutablepopoverTargetAction:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
disabled
bool
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

formAction
string

Overrides the action attribute (where the data on a form is sent) on the parent form element.Read more on MDN

formEnctype
string

Used to override the encoding (formEnctype attribute) specified on the form element.Read more on MDN

formMethod
string

Overrides the submit method attribute previously specified on a form element.Read more on MDN

name
string

Sets or retrieves the name of the object.Read more on MDN

type_
string

Gets the classification and default behavior of the button.Read more on MDN

value
string

Sets or retrieves the default or selected value of the control.Read more on MDN

willValidate
bool

Returns whether an element will successfully validate based on forms validation rules and constraints.Read more on MDN

validity

Returns a ValidityState object that represents the validity states of an element.Read more on MDN

validationMessage
string

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.Read more on MDN

popoverTargetElement
Null.t<element >
popoverTargetAction
string

htmlCanvasElement

Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.See HTMLCanvasElement on MDN

typehtmlCanvasElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablewidth:int,
mutableheight:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
width
int

Gets or sets the width of a canvas element on a document.Read more on MDN

height
int

Gets or sets the height of a canvas element on a document.Read more on MDN

htmlCollection

A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.See HTMLCollection on MDN

typehtmlCollection= {length:int}

Record fields

length
int

Sets or retrieves the number of objects in a collection.Read more on MDN

htmlCollectionOf

typehtmlCollectionOf<'t>= {length:int}

Record fields

length
int

Sets or retrieves the number of objects in a collection.Read more on MDN

htmlDataElement

Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements.See HTMLDataElement on MDN

typehtmlDataElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablevalue:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
value
string

htmlDataListElement

Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.See HTMLDataListElement on MDN

typehtmlDataListElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
options:htmlCollectionOf<htmlOptionElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
options

Returns an HTMLCollection of the option elements of the datalist element.Read more on MDN

htmlDialogElement

typehtmlDialogElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutableopen_:bool,
mutablereturnValue:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
returnValue
string

htmlDivElement

Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements.See HTMLDivElement on MDN

typehtmlDivElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmldListElement

Provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements.See HTMLDListElement on MDN

typehtmldListElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlElement

Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.See HTMLElement on MDN

typehtmlElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlEmbedElement

Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements.See HTMLEmbedElement on MDN

typehtmlEmbedElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutablesrc:string,
mutablewidth:string,
mutableheight:string,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
src
string

Sets or retrieves a URL to be loaded by the object.Read more on MDN

width
string

Sets or retrieves the width of the object.Read more on MDN

height
string

Sets or retrieves the height of the object.Read more on MDN

htmlFieldSetElement

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements.See HTMLFieldSetElement on MDN

typehtmlFieldSetElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledisabled:bool,
form:Null.t<htmlFormElement>,
mutablename:string,
type_:string,
elements:htmlCollection,
willValidate:bool,
validity:validityState,
validationMessage:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
disabled
bool
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

name
string
type_
string

Returns the string "fieldset".Read more on MDN

elements

Returns an HTMLCollection of the form controls in the element.Read more on MDN

willValidate
bool

Returns whether an element will successfully validate based on forms validation rules and constraints.Read more on MDN

validity

Returns a ValidityState object that represents the validity states of an element.Read more on MDN

validationMessage
string

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.Read more on MDN

htmlFormControlsCollection

A collection of HTML form control elements.See HTMLFormControlsCollection on MDN

typehtmlFormControlsCollection= {length:int}

Record fields

length
int

Sets or retrieves the number of objects in a collection.Read more on MDN

htmlFormElement

A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.See HTMLFormElement on MDN

typehtmlFormElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutableacceptCharset:string,
mutableaction:string,
mutableautocomplete:autoFillBase,
mutableenctype:string,
mutableencoding:string,
mutablemethod:string,
mutablename:string,
mutabletarget:string,
elements:htmlFormControlsCollection,
length:int,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
acceptCharset
string

Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.Read more on MDN

action
string

Sets or retrieves the URL to which the form content is sent for processing.Read more on MDN

autocomplete

Specifies whether autocomplete is applied to an editable text field.Read more on MDN

enctype
string

Sets or retrieves the encoding type for the form.Read more on MDN

encoding
string

Sets or retrieves the MIME encoding for the form.Read more on MDN

method
string

Sets or retrieves how to send the form data to the server.Read more on MDN

name
string

Sets or retrieves the name of the object.Read more on MDN

target
string

Sets or retrieves the window or frame at which to target content.Read more on MDN

elements

Retrieves a collection, in source order, of all controls in a given form.Read more on MDN

length
int

Sets or retrieves the number of objects in a collection.Read more on MDN

htmlFrameSetElement

Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements.See HTMLFrameSetElement on MDN

typehtmlFrameSetElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlHeadElement

Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.See HTMLHeadElement on MDN

typehtmlHeadElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >

htmlHeadingElement

The different heading elements. It inherits methods and properties from the HTMLElement interface.See HTMLHeadingElement on MDN

typehtmlHeadingElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlhrElement

Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements.See HTMLHRElement on MDN

typehtmlhrElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlHtmlElement

Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.See HTMLHtmlElement on MDN

typehtmlHtmlElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmliFrameElement

Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.See HTMLIFrameElement on MDN

typehtmliFrameElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablesrc:string,
mutablesrcdoc:string,
mutablename:string,
sandbox:domTokenList,
mutableallow:string,
mutableallowFullscreen:bool,
mutablewidth:string,
mutableheight:string,
mutablereferrerPolicy:referrerPolicy,
mutableloading:string,
contentDocument:Null.t<document>,
contentWindow:Null.t<window>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
src
string

Sets or retrieves a URL to be loaded by the object.Read more on MDN

srcdoc
string

Sets or retrives the content of the page that is to contain.Read more on MDN

name
string

Sets or retrieves the frame name.Read more on MDN

allow
string
allowFullscreen
bool
width
string

Sets or retrieves the width of the object.Read more on MDN

height
string

Sets or retrieves the height of the object.Read more on MDN

loading
string
contentDocument
Null.t<document >

Retrieves the document object of the page or frame.Read more on MDN

contentWindow
Null.t<window >

Retrieves the object of the specified.Read more on MDN

htmlImageElement

Provides special properties and methods for manipulating <img> elements.See HTMLImageElement on MDN

typehtmlImageElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutablealt:string,
mutablesrc:string,
mutablesrcset:string,
mutablesizes:string,
mutablecrossOrigin:Null.t<string>,
mutableuseMap:string,
mutableisMap:bool,
mutablewidth:int,
mutableheight:int,
naturalWidth:int,
naturalHeight:int,
complete:bool,
currentSrc:string,
mutablereferrerPolicy:string,
mutabledecoding:string,
mutableloading:string,
mutablefetchPriority:string,
x:int,
y:int,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
alt
string

Sets or retrieves a text alternative to the graphic.Read more on MDN

src
string

The address or URL of the a media resource that is to be considered.Read more on MDN

srcset
string
sizes
string
crossOrigin
Null.t< string >
useMap
string

Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.Read more on MDN

isMap
bool

Sets or retrieves whether the image is a server-side image map.Read more on MDN

width
int

Sets or retrieves the width of the object.Read more on MDN

height
int

Sets or retrieves the height of the object.Read more on MDN

naturalWidth
int

The original width of the image resource before sizing.Read more on MDN

naturalHeight
int

The original height of the image resource before sizing.Read more on MDN

complete
bool

Retrieves whether the object is fully loaded.Read more on MDN

currentSrc
string
referrerPolicy
string
decoding
string
loading
string

Sets or retrieves the policy for loading image elements that are outside the viewport.Read more on MDN

fetchPriority
string

htmlInputElement

Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements.See HTMLInputElement on MDN

typehtmlInputElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutableaccept:string,
mutablealt:string,
mutableautocomplete:string,
mutabledefaultChecked:bool,
mutablechecked:bool,
mutabledisabled:bool,
form:Null.t<htmlFormElement>,
mutablefiles:Null.t<fileList>,
mutableformAction:string,
mutableformEnctype:string,
mutableformMethod:string,
mutableheight:int,
mutableindeterminate:bool,
list:Null.t<htmlDataListElement>,
mutablemax:string,
mutablemaxLength:int,
mutablemin:string,
mutableminLength:int,
mutablemultiple:bool,
mutablename:string,
mutablepattern:string,
mutableplaceholder:string,
mutablereadOnly:bool,
mutablerequired:bool,
mutablesize:int,
mutablesrc:string,
mutablestep:string,
mutabletype_:string,
mutabledefaultValue:string,
mutablevalue:string,
mutablevalueAsDate:Null.t<Date.t>,
mutablevalueAsNumber:float,
mutablewidth:int,
willValidate:bool,
validity:validityState,
validationMessage:string,
labels:Null.t<nodeListOf<htmlLabelElement>>,
mutableselectionStart:Null.t<int>,
mutableselectionEnd:Null.t<int>,
mutableselectionDirection:Null.t<string>,
mutablewebkitdirectory:bool,
webkitEntries:array<
WebAPI.FileAndDirectoryEntriesAPI.fileSystemEntry,
>,
mutablecapture:string,
mutablepopoverTargetElement:Null.t<element>,
mutablepopoverTargetAction:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
accept
string

Sets or retrieves a comma-separated list of content types.Read more on MDN

alt
string

Sets or retrieves a text alternative to the graphic.Read more on MDN

autocomplete
string

Specifies whether autocomplete is applied to an editable text field.Read more on MDN

defaultChecked
bool

Sets or retrieves the state of the check box or radio button.Read more on MDN

checked
bool

Sets or retrieves the state of the check box or radio button.Read more on MDN

disabled
bool
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

files
Null.t<fileList >

Returns a FileList object on a file type input object.Read more on MDN

formAction
string

Overrides the action attribute (where the data on a form is sent) on the parent form element.Read more on MDN

formEnctype
string

Used to override the encoding (formEnctype attribute) specified on the form element.Read more on MDN

formMethod
string

Overrides the submit method attribute previously specified on a form element.Read more on MDN

height
int

Sets or retrieves the height of the object.Read more on MDN

indeterminate
bool

When set, overrides the rendering of checkbox controls so that the current value is not visible.Read more on MDN

list

Specifies the ID of a pre-defined datalist of options for an input element.Read more on MDN

max
string

Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.Read more on MDN

maxLength
int

Sets or retrieves the maximum number of characters that the user can enter in a text control.Read more on MDN

min
string

Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.Read more on MDN

minLength
int
multiple
bool

Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.Read more on MDN

name
string

Sets or retrieves the name of the object.Read more on MDN

pattern
string

Gets or sets a string containing a regular expression that the user's input must match.Read more on MDN

placeholder
string

Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.Read more on MDN

readOnly
bool
required
bool

When present, marks an element that can't be submitted without a value.Read more on MDN

src
string

The address or URL of the a media resource that is to be considered.Read more on MDN

step
string

Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.Read more on MDN

type_
string

Returns the content type of the object.Read more on MDN

defaultValue
string

Sets or retrieves the initial contents of the object.Read more on MDN

value
string

Returns the value of the data at the cursor's current position.Read more on MDN

valueAsDate
Null.t< Date.t >

Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.Read more on MDN

valueAsNumber
float

Returns the input field value as a number.Read more on MDN

width
int

Sets or retrieves the width of the object.Read more on MDN

willValidate
bool

Returns whether an element will successfully validate based on forms validation rules and constraints.Read more on MDN

validity

Returns a ValidityState object that represents the validity states of an element.Read more on MDN

validationMessage
string

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.Read more on MDN

selectionStart
Null.t< int >

Gets or sets the starting position or offset of a text selection.Read more on MDN

selectionEnd
Null.t< int >

Gets or sets the end position or offset of a text selection.Read more on MDN

selectionDirection
Null.t< string >
webkitdirectory
bool
capture
string
popoverTargetElement
Null.t<element >
popoverTargetAction
string

htmlLabelElement

Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface.See HTMLLabelElement on MDN

typehtmlLabelElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
form:Null.t<htmlFormElement>,
mutablehtmlFor:string,
control:Null.t<htmlElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

htmlFor
string

Sets or retrieves the object to which the given label object is assigned.Read more on MDN

control
Null.t<htmlElement >

Returns the form control that is associated with this element.Read more on MDN

htmlLegendElement

The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface.See HTMLLegendElement on MDN

typehtmlLegendElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
form:Null.t<htmlFormElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

htmlliElement

Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.See HTMLLIElement on MDN

typehtmlliElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlLinkElement

Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface.See HTMLLinkElement on MDN

typehtmlLinkElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablehref:string,
mutablecrossOrigin:Null.t<string>,
mutablerel:string,
mutableas_:string,
relList:domTokenList,
mutablemedia:string,
mutableintegrity:string,
mutablehreflang:string,
mutabletype_:string,
mutablereferrerPolicy:string,
mutabledisabled:bool,
mutablefetchPriority:string,
sheet:Null.t<cssStyleSheet>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
href
string

Sets or retrieves a destination URL or an anchor point.Read more on MDN

crossOrigin
Null.t< string >
rel
string

Sets or retrieves the relationship between the object and the destination of the link.Read more on MDN

media
string

Sets or retrieves the media type.Read more on MDN

integrity
string
hreflang
string

Sets or retrieves the language code of the object.Read more on MDN

type_
string

Sets or retrieves the MIME type of the object.Read more on MDN

referrerPolicy
string
disabled
bool
fetchPriority
string

htmlMapElement

Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.See HTMLMapElement on MDN

typehtmlMapElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablename:string,
areas:htmlCollection,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
name
string

Sets or retrieves the name of the object.Read more on MDN

areas

Retrieves a collection of the area objects defined for the given map object.Read more on MDN

htmlMediaElement

Adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.See HTMLMediaElement on MDN

typehtmlMediaElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
error:Null.t<mediaError>,
mutablesrc:string,
mutablesrcObject:Null.t<mediaProvider>,
currentSrc:string,
mutablecrossOrigin:Null.t<string>,
networkState:int,
mutablepreload:string,
buffered:timeRanges,
readyState:int,
mutablecurrentTime:float,
duration:float,
paused:bool,
mutabledefaultPlaybackRate:float,
mutableplaybackRate:float,
mutablepreservesPitch:bool,
seekable:timeRanges,
ended:bool,
mutableautoplay:bool,
mutableloop:bool,
mutablecontrols:bool,
mutablevolume:float,
mutablemuted:bool,
mutabledefaultMuted:bool,
textTracks:textTrackList,
sinkId:string,
mediaKeys:Null.t<
WebAPI.EncryptedMediaExtensionsAPI.mediaKeys,
>,
remote:WebAPI.RemotePlaybackAPI.remotePlayback,
mutabledisableRemotePlayback:bool,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
error
Null.t<mediaError >

Returns an object representing the current error state of the audio or video element.Read more on MDN

src
string

The address or URL of the a media resource that is to be considered.Read more on MDN

currentSrc
string

Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.Read more on MDN

crossOrigin
Null.t< string >
networkState
int

Gets the current network activity for the element.Read more on MDN

preload
string

Gets or sets a value indicating what data should be preloaded, if any.Read more on MDN

buffered

Gets a collection of buffered time ranges.Read more on MDN

readyState
int
currentTime
float

Gets or sets the current playback position, in seconds.Read more on MDN

duration
float

Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.Read more on MDN

paused
bool

Gets a flag that specifies whether playback is paused.Read more on MDN

defaultPlaybackRate
float

Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.Read more on MDN

playbackRate
float

Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.Read more on MDN

preservesPitch
bool
seekable

Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.Read more on MDN

ended
bool

Gets information about whether the playback has ended or not.Read more on MDN

autoplay
bool

Gets or sets a value that indicates whether to start playing the media automatically.Read more on MDN

loop
bool

Gets or sets a flag to specify whether playback should restart after it completes.Read more on MDN

controls
bool

Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).Read more on MDN

volume
float

Gets or sets the volume level for audio portions of the media element.Read more on MDN

muted
bool

Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.Read more on MDN

defaultMuted
bool
sinkId
string
disableRemotePlayback
bool

htmlMenuElement

typehtmlMenuElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlMetaElement

Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.See HTMLMetaElement on MDN

typehtmlMetaElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablename:string,
mutablehttpEquiv:string,
mutablecontent:string,
mutablemedia:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
name
string

Sets or retrieves the value specified in the content attribute of the meta object.Read more on MDN

httpEquiv
string

Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.Read more on MDN

content
string

Gets or sets meta-information to associate with httpEquiv or name.Read more on MDN

media
string

htmlMeterElement

The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements.See HTMLMeterElement on MDN

typehtmlMeterElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablevalue:float,
mutablemin:float,
mutablemax:float,
mutablelow:float,
mutablehigh:float,
mutableoptimum:float,
labels:nodeListOf<htmlLabelElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
value
float
optimum
float

htmlModElement

Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>.See HTMLModElement on MDN

typehtmlModElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlObjectElement

Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources.See HTMLObjectElement on MDN

typehtmlObjectElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledata:string,
mutabletype_:string,
mutablename:string,
form:Null.t<htmlFormElement>,
mutablewidth:string,
mutableheight:string,
contentDocument:Null.t<document>,
contentWindow:Null.t<window>,
willValidate:bool,
validity:validityState,
validationMessage:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
data
string

Sets or retrieves the URL that references the data of the object.Read more on MDN

type_
string

Sets or retrieves the MIME type of the object.Read more on MDN

name
string

Sets or retrieves the name of the object.Read more on MDN

form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

width
string

Sets or retrieves the width of the object.Read more on MDN

height
string

Sets or retrieves the height of the object.Read more on MDN

contentDocument
Null.t<document >

Retrieves the document object of the page or frame.Read more on MDN

contentWindow
Null.t<window >
willValidate
bool

Returns whether an element will successfully validate based on forms validation rules and constraints.Read more on MDN

validity

Returns a ValidityState object that represents the validity states of an element.Read more on MDN

validationMessage
string

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.Read more on MDN

htmloListElement

Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.See HTMLOListElement on MDN

typehtmloListElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablereversed:bool,
mutablestart:int,
mutabletype_:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
reversed
bool
start
int

The starting number.Read more on MDN

type_
string

htmlOptGroupElement

Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements.See HTMLOptGroupElement on MDN

typehtmlOptGroupElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledisabled:bool,
mutablelabel:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
disabled
bool
label
string

Sets or retrieves a value that you can use to implement your own label functionality for the object.Read more on MDN

htmlOptionElement

<option> elements and inherits all classes and methods of the HTMLElement interface.[See HTMLOptionElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
typehtmlOptionElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledisabled:bool,
form:Null.t<htmlFormElement>,
mutablelabel:string,
mutabledefaultSelected:bool,
mutableselected:bool,
mutablevalue:string,
mutabletext:string,
index:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
disabled
bool
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

label
string

Sets or retrieves a value that you can use to implement your own label functionality for the object.Read more on MDN

defaultSelected
bool

Sets or retrieves the status of an option.Read more on MDN

selected
bool

Sets or retrieves whether the option in the list box is the default item.Read more on MDN

value
string

Sets or retrieves the value which is returned to the server when the form control is submitted.Read more on MDN

text
string

Sets or retrieves the text string specified by the option tag.Read more on MDN

index
int

Sets or retrieves the ordinal position of an option in a list box.Read more on MDN

htmlOptionsCollection

HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select.See HTMLOptionsCollection on MDN

typehtmlOptionsCollection= {
length:int,
mutableselectedIndex:int,
}

Record fields

length
int

Sets or retrieves the number of objects in a collection.Read more on MDN

selectedIndex
int

Returns the index of the first selected item, if any, or −1 if there is no selected item.

Can be set, to change the selection.Read more on MDN

htmlOutputElement

Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements.See HTMLOutputElement on MDN

typehtmlOutputElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
htmlFor:domTokenList,
form:Null.t<htmlFormElement>,
mutablename:string,
type_:string,
mutabledefaultValue:string,
mutablevalue:string,
willValidate:bool,
validity:validityState,
validationMessage:string,
labels:nodeListOf<htmlLabelElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
name
string
type_
string

Returns the string "output".Read more on MDN

defaultValue
string
value
string

Returns the element's current value.

Can be set, to change the value.Read more on MDN

willValidate
bool
validationMessage
string

htmlParagraphElement

Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements.See HTMLParagraphElement on MDN

typehtmlParagraphElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlPictureElement

A <picture> HTML element. It doesn't implement specific properties or methods.See HTMLPictureElement on MDN

typehtmlPictureElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlPreElement

Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>).See HTMLPreElement on MDN

typehtmlPreElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlProgressElement

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements.See HTMLProgressElement on MDN

typehtmlProgressElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablevalue:float,
mutablemax:float,
position:float,
labels:nodeListOf<htmlLabelElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
value
float

Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.Read more on MDN

max
float

Defines the maximum, or "done" value for a progress element.Read more on MDN

position
float

Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).Read more on MDN

htmlQuoteElement

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element.See HTMLQuoteElement on MDN

typehtmlQuoteElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlScriptElement

HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface).See HTMLScriptElement on MDN

typehtmlScriptElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutablesrc:string,
mutabletype_:string,
mutablenoModule:bool,
mutableasync:bool,
mutabledefer:bool,
mutablecrossOrigin:Null.t<string>,
mutabletext:string,
mutableintegrity:string,
mutablereferrerPolicy:string,
mutablefetchPriority:string,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
src
string

Retrieves the URL to an external file that contains the source code or data.Read more on MDN

type_
string

Sets or retrieves the MIME type for the associated scripting engine.Read more on MDN

noModule
bool
defer
bool

Sets or retrieves the status of the script.Read more on MDN

crossOrigin
Null.t< string >
text
string

Retrieves or sets the text of the object as a string.Read more on MDN

integrity
string
referrerPolicy
string
fetchPriority
string

htmlSelectElement

A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface.See HTMLSelectElement on MDN

typehtmlSelectElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledisabled:bool,
form:Null.t<htmlFormElement>,
mutablemultiple:bool,
mutablename:string,
mutablerequired:bool,
mutablesize:int,
type_:string,
options:htmlOptionsCollection,
mutablelength:int,
selectedOptions:htmlCollectionOf<htmlOptionElement>,
mutableselectedIndex:int,
mutablevalue:string,
willValidate:bool,
validity:validityState,
validationMessage:string,
labels:nodeListOf<htmlLabelElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
disabled
bool
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

multiple
bool

Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.Read more on MDN

name
string

Sets or retrieves the name of the object.Read more on MDN

required
bool

When present, marks an element that can't be submitted without a value.Read more on MDN

size
int

Sets or retrieves the number of rows in the list box.Read more on MDN

type_
string

Retrieves the type of select control based on the value of the MULTIPLE attribute.Read more on MDN

options

Returns an HTMLOptionsCollection of the list of options.Read more on MDN

length
int

Sets or retrieves the number of objects in a collection.Read more on MDN

selectedIndex
int

Sets or retrieves the index of the selected option in a select object.Read more on MDN

value
string

Sets or retrieves the value which is returned to the server when the form control is submitted.Read more on MDN

willValidate
bool

Returns whether an element will successfully validate based on forms validation rules and constraints.Read more on MDN

validity

Returns a ValidityState object that represents the validity states of an element.Read more on MDN

validationMessage
string

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.Read more on MDN

htmlSlotElement

typehtmlSlotElement= {
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutablename:string,
}

Record fields

title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
name
string

htmlSourceElement

Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements.See HTMLSourceElement on MDN

typehtmlSourceElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablewidth:int,
mutableheight:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlSpanElement

A <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.See HTMLSpanElement on MDN

typehtmlSpanElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlStyleElement

A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.See HTMLStyleElement on MDN

typehtmlStyleElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledisabled:bool,
mutablemedia:string,
sheet:Null.t<cssStyleSheet>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
disabled
bool

Enables or disables the style sheet.Read more on MDN

media
string

Sets or retrieves the media type.Read more on MDN

htmlTableCaptionElement

Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.See HTMLTableCaptionElement on MDN

typehtmlTableCaptionElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlTableCellElement

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.See HTMLTableCellElement on MDN

typehtmlTableCellElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablecolSpan:int,
mutablerowSpan:int,
mutableheaders:string,
cellIndex:int,
mutablescope:string,
mutableabbr:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
colSpan
int

Sets or retrieves the number columns in the table that the object should span.Read more on MDN

rowSpan
int

Sets or retrieves how many rows in a table the cell should span.Read more on MDN

headers
string

Sets or retrieves a list of header cells that provide information for the object.Read more on MDN

cellIndex
int

Retrieves the position of the object in the cells collection of a row.Read more on MDN

scope
string

Sets or retrieves the group of cells in a table to which the object's information applies.Read more on MDN

abbr
string

Sets or retrieves abbreviated text for the object.Read more on MDN

htmlTableElement

Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.See HTMLTableElement on MDN

typehtmlTableElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablecaption:Null.t<htmlTableCaptionElement>,
mutabletHead:Null.t<htmlTableSectionElement>,
mutabletFoot:Null.t<htmlTableSectionElement>,
tBodies:htmlCollectionOf<htmlTableSectionElement>,
rows:htmlCollectionOf<htmlTableRowElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
caption

Retrieves the caption object of a table.Read more on MDN

tHead

Retrieves the tHead object of the table.Read more on MDN

tFoot

Retrieves the tFoot object of the table.Read more on MDN

tBodies

Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.Read more on MDN

rows

Sets or retrieves the number of horizontal rows contained in the object.Read more on MDN

htmlTableRowElement

Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.See HTMLTableRowElement on MDN

typehtmlTableRowElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
rowIndex:int,
sectionRowIndex:int,
cells:htmlCollectionOf<htmlTableCellElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
rowIndex
int

Retrieves the position of the object in the rows collection for the table.Read more on MDN

sectionRowIndex
int

Retrieves the position of the object in the collection.Read more on MDN

cells

Retrieves a collection of all cells in the table row.Read more on MDN

htmlTableSectionElement

Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table.See HTMLTableSectionElement on MDN

typehtmlTableSectionElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
rows:htmlCollectionOf<htmlTableRowElement>,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
rows

Sets or retrieves the number of horizontal rows contained in the object.Read more on MDN

htmlTemplateElement

Enables access to the contents of an HTML <template> element.See HTMLTemplateElement on MDN

typehtmlTemplateElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
content:documentFragment,
mutableshadowRootMode:string,
mutableshadowRootDelegatesFocus:bool,
mutableshadowRootClonable:bool,
mutableshadowRootSerializable:bool,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
content

Returns the template contents (a DocumentFragment).Read more on MDN

shadowRootMode
string
shadowRootDelegatesFocus
bool
shadowRootClonable
bool
shadowRootSerializable
bool

htmlTextAreaElement

Provides special properties and methods for manipulating the layout and presentation of <textarea> elements.See HTMLTextAreaElement on MDN

typehtmlTextAreaElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutableautocomplete:string,
mutablecols:int,
mutabledisabled:bool,
form:Null.t<htmlFormElement>,
mutablemaxLength:int,
mutableminLength:int,
mutablename:string,
mutableplaceholder:string,
mutablereadOnly:bool,
mutablerequired:bool,
mutablerows:int,
mutablewrap:string,
type_:string,
mutabledefaultValue:string,
mutablevalue:string,
textLength:int,
willValidate:bool,
validity:validityState,
validationMessage:string,
labels:nodeListOf<htmlLabelElement>,
mutableselectionStart:int,
mutableselectionEnd:int,
mutableselectionDirection:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
autocomplete
string
cols
int

Sets or retrieves the width of the object.Read more on MDN

disabled
bool
form
Null.t<htmlFormElement >

Retrieves a reference to the form that the object is embedded in.Read more on MDN

maxLength
int

Sets or retrieves the maximum number of characters that the user can enter in a text control.Read more on MDN

minLength
int
name
string

Sets or retrieves the name of the object.Read more on MDN

placeholder
string

Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.Read more on MDN

readOnly
bool

Sets or retrieves the value indicated whether the content of the object is read-only.Read more on MDN

required
bool

When present, marks an element that can't be submitted without a value.Read more on MDN

rows
int

Sets or retrieves the number of horizontal rows contained in the object.Read more on MDN

wrap
string

Sets or retrieves how to handle wordwrapping in the object.Read more on MDN

type_
string

Retrieves the type of control.Read more on MDN

defaultValue
string

Sets or retrieves the initial contents of the object.Read more on MDN

value
string

Retrieves or sets the text in the entry field of the textArea element.Read more on MDN

textLength
int
willValidate
bool

Returns whether an element will successfully validate based on forms validation rules and constraints.Read more on MDN

validity

Returns a ValidityState object that represents the validity states of an element.Read more on MDN

validationMessage
string

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.Read more on MDN

selectionStart
int

Gets or sets the starting position or offset of a text selection.Read more on MDN

selectionEnd
int

Gets or sets the end position or offset of a text selection.Read more on MDN

selectionDirection
string

htmlTimeElement

Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements.See HTMLTimeElement on MDN

typehtmlTimeElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabledateTime:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
dateTime
string

htmlTitleElement

Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.See HTMLTitleElement on MDN

typehtmlTitleElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutabletext:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
text
string

Retrieves or sets the text of the object as a string.Read more on MDN

htmlTrackElement

The HTMLTrackElementSee HTMLTrackElement on MDN

typehtmlTrackElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
mutablesrc:string,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmluListElement

Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements.See HTMLUListElement on MDN

typehtmluListElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlUnknownElement

An invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.See HTMLUnknownElement on MDN

typehtmlUnknownElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int

htmlVideoElement

Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.See HTMLVideoElement on MDN

typehtmlVideoElement= {
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabletitle:string,
mutablelang:string,
mutabletranslate:bool,
mutabledir:string,
mutablehidden:unknown,
mutableinert:bool,
mutableaccessKey:string,
accessKeyLabel:string,
mutabledraggable:bool,
mutablespellcheck:bool,
mutableautocapitalize:string,
mutableinnerText:string,
mutableouterText:string,
mutablepopover:Null.t<string>,
offsetParent:Null.t<element>,
offsetTop:int,
offsetLeft:int,
offsetWidth:int,
offsetHeight:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
mutablecontentEditable:string,
mutableenterKeyHint:string,
isContentEditable:bool,
mutableinputMode:string,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
error:Null.t<mediaError>,
mutablesrc:string,
mutablesrcObject:Null.t<mediaProvider>,
currentSrc:string,
mutablecrossOrigin:Null.t<string>,
networkState:int,
mutablepreload:string,
buffered:timeRanges,
readyState:int,
mutablecurrentTime:float,
duration:float,
paused:bool,
mutabledefaultPlaybackRate:float,
mutableplaybackRate:float,
mutablepreservesPitch:bool,
seekable:timeRanges,
ended:bool,
mutableautoplay:bool,
mutableloop:bool,
mutablecontrols:bool,
mutablevolume:float,
mutablemuted:bool,
mutabledefaultMuted:bool,
textTracks:textTrackList,
sinkId:string,
mediaKeys:Null.t<
WebAPI.EncryptedMediaExtensionsAPI.mediaKeys,
>,
remote:WebAPI.RemotePlaybackAPI.remotePlayback,
mutabledisableRemotePlayback:bool,
mutablewidth:int,
mutableheight:int,
videoWidth:int,
videoHeight:int,
mutableposter:string,
mutabledisablePictureInPicture:bool,
}

Record fields

namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
title
string
lang
string
translate
bool
hidden
unknown
accessKey
string
accessKeyLabel
string
draggable
bool
spellcheck
bool
autocapitalize
string
innerText
string
outerText
string
popover
Null.t< string >
offsetParent
Null.t<element >
offsetTop
int
offsetLeft
int
offsetWidth
int
offsetHeight
int
contentEditable
string
enterKeyHint
string
isContentEditable
bool
inputMode
string
nonce
option< string >
autofocus
bool
tabIndex
int
error
Null.t<mediaError >

Returns an object representing the current error state of the audio or video element.Read more on MDN

src
string

The address or URL of the a media resource that is to be considered.Read more on MDN

currentSrc
string

Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.Read more on MDN

crossOrigin
Null.t< string >
networkState
int

Gets the current network activity for the element.Read more on MDN

preload
string

Gets or sets a value indicating what data should be preloaded, if any.Read more on MDN

buffered

Gets a collection of buffered time ranges.Read more on MDN

readyState
int
currentTime
float

Gets or sets the current playback position, in seconds.Read more on MDN

duration
float

Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.Read more on MDN

paused
bool

Gets a flag that specifies whether playback is paused.Read more on MDN

defaultPlaybackRate
float

Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.Read more on MDN

playbackRate
float

Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.Read more on MDN

preservesPitch
bool
seekable

Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.Read more on MDN

ended
bool

Gets information about whether the playback has ended or not.Read more on MDN

autoplay
bool

Gets or sets a value that indicates whether to start playing the media automatically.Read more on MDN

loop
bool

Gets or sets a flag to specify whether playback should restart after it completes.Read more on MDN

controls
bool

Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).Read more on MDN

volume
float

Gets or sets the volume level for audio portions of the media element.Read more on MDN

muted
bool

Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.Read more on MDN

defaultMuted
bool
sinkId
string
disableRemotePlayback
bool
width
int

Gets or sets the width of the video element.Read more on MDN

height
int

Gets or sets the height of the video element.Read more on MDN

videoWidth
int

Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.Read more on MDN

videoHeight
int

Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.Read more on MDN

poster
string

Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.Read more on MDN

disablePictureInPicture
bool

idleDeadline

typeidleDeadline= {didTimeout:bool}

Record fields

didTimeout
bool

Module

There are methods and helpers defined in IdleDeadline.

idleRequestCallback

typeidleRequestCallback=idleDeadline=>unit

idleRequestOptions

typeidleRequestOptions= {mutabletimeout?:int}

Record fields

timeout
option< int >

imageBitmapOptions

typeimageBitmapOptions= {
mutableimageOrientation?:imageOrientation,
mutablepremultiplyAlpha?:premultiplyAlpha,
mutablecolorSpaceConversion?:colorSpaceConversion,
mutableresizeWidth?:int,
mutableresizeHeight?:int,
mutableresizeQuality?:resizeQuality,
}

Record fields

imageOrientation
premultiplyAlpha
colorSpaceConversion
resizeWidth
option< int >
resizeHeight
option< int >
resizeQuality
option<resizeQuality >

imageBitmapSource

typeimageBitmapSource=WebAPI.Prelude.any

imageData

The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData().See ImageData on MDN

typeimageData= {
width:int,
height:int,
data:array<int>,
colorSpace:predefinedColorSpace,
}

Record fields

width
int

Returns the actual dimensions of the data in the ImageData object, in pixels.Read more on MDN

height
int

Returns the actual dimensions of the data in the ImageData object, in pixels.Read more on MDN

data
array< int >

Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.Read more on MDN

Module

There are methods and helpers defined in ImageData.

imageDataSettings

typeimageDataSettings= {
mutablecolorSpace?:predefinedColorSpace,
}

Record fields

colorSpace

imageOrientation

typeimageOrientation=
| @as("flipY")FlipY
| @as("from-image")FromImage
| @as("none")None

insertPosition

typeinsertPosition=
| @as("afterbegin")Afterbegin
| @as("afterend")Afterend
| @as("beforebegin")Beforebegin
| @as("beforeend")Beforeend

iterationCompositeOperation

typeiterationCompositeOperation=
| @as("accumulate")Accumulate
| @as("replace")Replace

keyframeAnimationOptions

typekeyframeAnimationOptions= {
mutablefill?:fillMode,
mutableiterationStart?:float,
mutableiterations?:float,
mutabledirection?:playbackDirection,
mutableeasing?:string,
mutabledelay?:float,
mutableendDelay?:float,
mutableplaybackRate?:float,
mutableduration?:unknown,
mutablecomposite?:compositeOperation,
mutablepseudoElement?:Null.t<string>,
mutableiterationComposite?:iterationCompositeOperation,
mutableid?:string,
mutabletimeline?:Null.t<animationTimeline>,
}

Record fields

fill
option<fillMode >
iterationStart
option< float >
iterations
option< float >
direction
easing
option< string >
delay
option< float >
endDelay
option< float >
playbackRate
option< float >
duration
option< unknown >
composite
pseudoElement
option< Null.t< string > >
iterationComposite
id
option< string >
timeline
option< Null.t<animationTimeline > >

keyframeEffectOptions

typekeyframeEffectOptions= {
mutablefill?:fillMode,
mutableiterationStart?:float,
mutableiterations?:float,
mutabledirection?:playbackDirection,
mutableeasing?:string,
mutabledelay?:float,
mutableendDelay?:float,
mutableplaybackRate?:float,
mutableduration?:unknown,
mutablecomposite?:compositeOperation,
mutablepseudoElement?:Null.t<string>,
mutableiterationComposite?:iterationCompositeOperation,
}

Record fields

fill
option<fillMode >
iterationStart
option< float >
iterations
option< float >
direction
easing
option< string >
delay
option< float >
endDelay
option< float >
playbackRate
option< float >
duration
option< unknown >
composite
pseudoElement
option< Null.t< string > >
iterationComposite

location

@editor.completeFrom(Window) The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.See Location on MDN

typelocation= {
mutablehref:string,
origin:string,
mutableprotocol:string,
mutablehost:string,
mutablehostname:string,
mutableport:string,
mutablepathname:string,
mutablesearch:string,
mutablehash:string,
ancestorOrigins:WebAPI.Prelude.domStringList,
}

Record fields

href
string

Returns the Location object's URL.

Can be set, to navigate to the given URL.Read more on MDN

origin
string

Returns the Location object's URL's origin.Read more on MDN

protocol
string

Returns the Location object's URL's scheme.

Can be set, to navigate to the same URL with a changed scheme.Read more on MDN

host
string

Returns the Location object's URL's host and port (if different from the default port for the scheme).

Can be set, to navigate to the same URL with a changed host and port.Read more on MDN

hostname
string

Returns the Location object's URL's host.

Can be set, to navigate to the same URL with a changed host.Read more on MDN

port
string

Returns the Location object's URL's port.

Can be set, to navigate to the same URL with a changed port.Read more on MDN

pathname
string

Returns the Location object's URL's path.

Can be set, to navigate to the same URL with a changed path.Read more on MDN

search
string

Returns the Location object's URL's query (includes leading "?" if non-empty).

Can be set, to navigate to the same URL with a changed query (ignores leading "?").Read more on MDN

hash
string

Returns the Location object's URL's fragment (includes leading "#" if non-empty).

Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").Read more on MDN

ancestorOrigins

Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.Read more on MDN

Module

There are methods and helpers defined in Location.

mediaError

An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as <audio> or <video>.See MediaError on MDN

typemediaError= {code:int,message:string}

Record fields

message
string

mediaList

typemediaList= {mutablemediaText:string,length:int}

Record fields

mediaText
string

Module

There are methods and helpers defined in MediaList.

mediaProvider

typemediaProvider=WebAPI.Prelude.any

mediaQueryList

Stores information on a media query applied to a document, and handles sending notifications to listeners when the media query state change (i.e. when the media query test starts or stops evaluating to true).See MediaQueryList on MDN

typemediaQueryList= {media:string,matches:bool}

Record fields

media
string
matches
bool

Module

There are methods and helpers defined in MediaQueryList.

mutationRecord

A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.See MutationRecord on MDN

typemutationRecord= {
type_:string,
target:node,
addedNodes:nodeList,
removedNodes:nodeList,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
attributeName:Null.t<string>,
attributeNamespace:Null.t<string>,
oldValue:Null.t<string>,
}

Record fields

type_
string

Returns "attributes" if it was an attribute mutation. "characterData" if it was a mutation to a CharacterData node. And "childList" if it was a mutation to the tree of nodes.Read more on MDN

target

Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.Read more on MDN

addedNodes

Return the nodes added and removed respectively.Read more on MDN

removedNodes

Return the nodes added and removed respectively.Read more on MDN

previousSibling
Null.t<node >

Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.Read more on MDN

nextSibling
Null.t<node >

Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.Read more on MDN

attributeName
Null.t< string >

Returns the local name of the changed attribute, and null otherwise.Read more on MDN

attributeNamespace
Null.t< string >

Returns the namespace of the changed attribute, and null otherwise.Read more on MDN

oldValue
Null.t< string >

The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.Read more on MDN

namedNodeMap

A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array.See NamedNodeMap on MDN

typenamedNodeMap= {length:int}

Record fields

Module

There are methods and helpers defined in NamedNodeMap.

navigator

The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.See Navigator on MDN

typenavigator= {
clipboard:WebAPI.ClipboardAPI.clipboard,
credentials:WebAPI.CredentialManagementAPI.credentialsContainer,
geolocation:WebAPI.GeolocationAPI.geolocation,
userActivation:userActivation,
mediaCapabilities:WebAPI.MediaCapabilitiesAPI.mediaCapabilities,
mediaDevices:WebAPI.MediaCaptureAndStreamsAPI.mediaDevices,
mediaSession:WebAPI.MediaSessionAPI.mediaSession,
permissions:WebAPI.PermissionsAPI.permissions,
maxTouchPoints:int,
wakeLock:WebAPI.ScreenWakeLockAPI.wakeLock,
serviceWorker:WebAPI.ServiceWorkerAPI.serviceWorkerContainer,
userAgent:string,
language:string,
languages:array<string>,
onLine:bool,
cookieEnabled:bool,
pdfViewerEnabled:bool,
hardwareConcurrency:int,
storage:WebAPI.StorageAPI.storageManager,
locks:WebAPI.WebLocksAPI.lockManager,
webdriver:bool,
}

Record fields

maxTouchPoints
int
userAgent
string
language
string
languages
array< string >
onLine
bool
cookieEnabled
bool
pdfViewerEnabled
bool
hardwareConcurrency
int
webdriver
bool

Module

There are methods and helpers defined in Navigator.

node

Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way.See Node on MDN

typenode= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >

Module

There are methods and helpers defined in Node.

nodeFilter

typenodeFilter= {}

Module

There are methods and helpers defined in NodeFilter.

nodeIterator

An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.See NodeIterator on MDN

typenodeIterator= {
root:node,
referenceNode:node,
pointerBeforeReferenceNode:bool,
whatToShow:int,
filter:Null.t<nodeFilter>,
}

Record fields

pointerBeforeReferenceNode
bool
whatToShow
int

Module

There are methods and helpers defined in NodeIterator.

nodeList

NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().See NodeList on MDN

typenodeList= {length:int}

Record fields

length
int

Returns the number of nodes in the collection.Read more on MDN

Module

There are methods and helpers defined in NodeList.

nodeListOf

typenodeListOf<'tNode>= {length:int}

Record fields

length
int

Returns the number of nodes in the collection.Read more on MDN

Module

There are methods and helpers defined in NodeListOf.

offscreenRenderingContext

typeoffscreenRenderingContext=WebAPI.Prelude.any

optionalEffectTiming

typeoptionalEffectTiming= {
mutabledelay?:float,
mutableendDelay?:float,
mutablefill?:fillMode,
mutableiterationStart?:float,
mutableiterations?:float,
mutableduration?:unknown,
mutabledirection?:playbackDirection,
mutableeasing?:string,
mutableplaybackRate?:float,
}

Record fields

delay
option< float >
endDelay
option< float >
fill
option<fillMode >
iterationStart
option< float >
iterations
option< float >
duration
option< unknown >
direction
easing
option< string >
playbackRate
option< float >

orientationType

typeorientationType=
| @as("landscape-primary")LandscapePrimary
| @as("landscape-secondary")LandscapeSecondary
| @as("portrait-primary")PortraitPrimary
| @as("portrait-secondary")PortraitSecondary

planeLayout

typeplaneLayout= {
mutableoffset:int,
mutablestride:int,
}

Record fields

offset
int
stride
int

playbackDirection

typeplaybackDirection=
| @as("alternate")Alternate
| @as("alternate-reverse")AlternateReverse
| @as("normal")Normal
| @as("reverse")Reverse

pointerLockOptions

typepointerLockOptions= {
mutableunadjustedMovement?:bool,
}

Record fields

unadjustedMovement
option< bool >

predefinedColorSpace

typepredefinedColorSpace=
| @as("display-p3")DisplayP3
| @as("srgb")Srgb

premultiplyAlpha

typepremultiplyAlpha=
| @as("default")Default
| @as("none")None
| @as("premultiply")Premultiply

processingInstruction

A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don't recognize them.See ProcessingInstruction on MDN

typeprocessingInstruction= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabledata:string,
length:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
target:string,
sheet:Null.t<cssStyleSheet>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
data
string
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

target
string

range

A fragment of a document that can contain nodes and parts of text nodes.See Range on MDN

typerange= {
startContainer:node,
startOffset:int,
endContainer:node,
endOffset:int,
collapsed:bool,
commonAncestorContainer:node,
}

Record fields

startContainer

Returns range's start node.Read more on MDN

startOffset
int

Returns range's start offset.Read more on MDN

endContainer

Returns range's end node.Read more on MDN

endOffset
int

Returns range's end offset.Read more on MDN

collapsed
bool

Returns true if range is collapsed, and false otherwise.Read more on MDN

commonAncestorContainer

Returns the node, furthest away from the document, that is an ancestor of both range's start node and end node.Read more on MDN

Module

There are methods and helpers defined in Range.

referrerPolicy

typereferrerPolicy=
| @as("no-referrer")NoReferrer
| @as("no-referrer-when-downgrade")NoReferrerWhenDowngrade
| @as("origin")Origin
| @as("origin-when-cross-origin")OriginWhenCrossOrigin
| @as("same-origin")SameOrigin
| @as("strict-origin")StrictOrigin
| @as("strict-origin-when-cross-origin")StrictOriginWhenCrossOrigin
| @as("unsafe-url")UnsafeUrl

remotePlaybackState

typeremotePlaybackState=
| @as("connected")Connected
| @as("connecting")Connecting
| @as("disconnected")Disconnected

renderingContext

typerenderingContext=WebAPI.Prelude.any

resizeQuality

typeresizeQuality=
| @as("high")High
| @as("low")Low
| @as("medium")Medium
| @as("pixelated")Pixelated

screen

A screen, usually the one on which the current window is being rendered, and is obtained using window.screen.See Screen on MDN

typescreen= {
availWidth:int,
availHeight:int,
width:int,
height:int,
colorDepth:int,
pixelDepth:int,
orientation:screenOrientation,
}

Record fields

availWidth
int
availHeight
int
colorDepth
int
pixelDepth
int

screenOrientation

typescreenOrientation= {
type_:orientationType,
angle:int,
}

Record fields

Module

There are methods and helpers defined in ScreenOrientation.

scrollBehavior

typescrollBehavior=
| @as("auto")Auto
| @as("instant")Instant
| @as("smooth")Smooth

scrollIntoViewOptions

typescrollIntoViewOptions= {
mutablebehavior?:scrollBehavior,
mutableblock?:scrollLogicalPosition,
mutableinline?:scrollLogicalPosition,
}

Record fields

behavior
option<scrollBehavior >
block
inline

scrollLogicalPosition

typescrollLogicalPosition=
| @as("center")Center
| @as("end")End
| @as("nearest")Nearest
| @as("start")Start

scrollOptions

typescrollOptions= {mutablebehavior?:scrollBehavior}

Record fields

behavior
option<scrollBehavior >

scrollToOptions

typescrollToOptions= {
mutablebehavior?:scrollBehavior,
mutableleft?:float,
mutabletop?:float,
}

Record fields

behavior
option<scrollBehavior >
left
option< float >
top
option< float >

selection

A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call Window.getSelection().See Selection on MDN

typeselection= {
anchorNode:Null.t<node>,
anchorOffset:int,
focusNode:Null.t<node>,
focusOffset:int,
isCollapsed:bool,
rangeCount:int,
type_:string,
direction:string,
}

Record fields

anchorNode
Null.t<node >
anchorOffset
int
focusNode
Null.t<node >
focusOffset
int
isCollapsed
bool
rangeCount
int
type_
string
direction
string

Module

There are methods and helpers defined in Selection.

selectionMode

typeselectionMode=
| @as("end")End
| @as("preserve")Preserve
| @as("select")Select
| @as("start")Start

shadowRoot

typeshadowRoot= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mode:shadowRootMode,
delegatesFocus:bool,
slotAssignment:slotAssignmentMode,
clonable:bool,
serializable:bool,
host:element,
mutableinnerHTML:string,
styleSheets:styleSheetList,
mutableadoptedStyleSheets:array<cssStyleSheet>,
fullscreenElement:Null.t<element>,
activeElement:Null.t<element>,
pictureInPictureElement:Null.t<element>,
pointerLockElement:Null.t<element>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
delegatesFocus
bool
clonable
bool
serializable
bool
innerHTML
string
styleSheets

Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.Read more on MDN

adoptedStyleSheets
array<cssStyleSheet >
fullscreenElement
Null.t<element >

Returns document's fullscreen element.Read more on MDN

activeElement
Null.t<element >

Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document.

For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.

Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.Read more on MDN

pictureInPictureElement
Null.t<element >
pointerLockElement
Null.t<element >

Module

There are methods and helpers defined in ShadowRoot.

shadowRootInit

typeshadowRootInit= {
mutablemode:shadowRootMode,
mutabledelegatesFocus?:bool,
mutableslotAssignment?:slotAssignmentMode,
mutableserializable?:bool,
}

Record fields

delegatesFocus
option< bool >
slotAssignment
serializable
option< bool >

shadowRootMode

typeshadowRootMode=
| @as("closed")Closed
| @as("open")Open

shareData

typeshareData= {
mutablefiles?:array<WebAPI.FileAPI.file>,
mutabletitle?:string,
mutabletext?:string,
mutableurl?:string,
}

Record fields

files
option< array<WebAPI.FileAPI.file > >
title
option< string >
text
option< string >
url
option< string >

slotAssignmentMode

typeslotAssignmentMode=
| @as("manual")Manual
| @as("named")Named

staticRange

typestaticRange= {
startContainer:node,
startOffset:int,
endContainer:node,
endOffset:int,
collapsed:bool,
}

Record fields

startContainer

Returns range's start node.Read more on MDN

startOffset
int

Returns range's start offset.Read more on MDN

endContainer

Returns range's end node.Read more on MDN

endOffset
int

Returns range's end offset.Read more on MDN

collapsed
bool

Returns true if range is collapsed, and false otherwise.Read more on MDN

stylePropertyMap

typestylePropertyMap= {size:int}

Record fields

Module

There are methods and helpers defined in StylePropertyMap.

stylePropertyMapReadOnly

typestylePropertyMapReadOnly= {size:int}

Record fields

Module

There are methods and helpers defined in StylePropertyMapReadOnly.

styleSheet

A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.See StyleSheet on MDN

typestyleSheet= {
type_:string,
href:Null.t<string>,
ownerNode:Null.t<unknown>,
parentStyleSheet:Null.t<cssStyleSheet>,
title:Null.t<string>,
media:mediaList,
mutabledisabled:bool,
}

Record fields

type_
string
href
Null.t< string >
ownerNode
Null.t< unknown >
parentStyleSheet
Null.t<cssStyleSheet >
title
Null.t< string >
disabled
bool

styleSheetList

A list of StyleSheet.See StyleSheetList on MDN

typestyleSheetList= {length:int}

Record fields

Module

There are methods and helpers defined in StyleSheetList.

svgAnimatedLength

Used for attributes of basic type <length> which can be animated.See SVGAnimatedLength on MDN

typesvgAnimatedLength= {
baseVal:svgLength,
animVal:svgLength,
}

Record fields

svgAnimatedPreserveAspectRatio

Used for attributes of type SVGPreserveAspectRatio which can be animated.See SVGAnimatedPreserveAspectRatio on MDN

typesvgAnimatedPreserveAspectRatio= {}

svgBoundingBoxOptions

typesvgBoundingBoxOptions= {
mutablefill?:bool,
mutablestroke?:bool,
mutablemarkers?:bool,
mutableclipped?:bool,
}

Record fields

fill
option< bool >
stroke
option< bool >
markers
option< bool >
clipped
option< bool >

svgElement

All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface.See SVGElement on MDN

typesvgElement= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
assignedSlot:Null.t<htmlSlotElement>,
mutableariaAtomic:Null.t<string>,
mutableariaAutoComplete:Null.t<string>,
mutableariaBrailleLabel:Null.t<string>,
mutableariaBrailleRoleDescription:Null.t<string>,
mutableariaBusy:Null.t<string>,
mutableariaChecked:Null.t<string>,
mutableariaColCount:Null.t<string>,
mutableariaColIndex:Null.t<string>,
mutableariaColIndexText:Null.t<string>,
mutableariaColSpan:Null.t<string>,
mutableariaCurrent:Null.t<string>,
mutableariaDescription:Null.t<string>,
mutableariaDisabled:Null.t<string>,
mutableariaExpanded:Null.t<string>,
mutableariaHasPopup:Null.t<string>,
mutableariaHidden:Null.t<string>,
mutableariaKeyShortcuts:Null.t<string>,
mutableariaLabel:Null.t<string>,
mutableariaLevel:Null.t<string>,
mutableariaLive:Null.t<string>,
mutableariaModal:Null.t<string>,
mutableariaMultiLine:Null.t<string>,
mutableariaMultiSelectable:Null.t<string>,
mutableariaOrientation:Null.t<string>,
mutableariaPlaceholder:Null.t<string>,
mutableariaPosInSet:Null.t<string>,
mutableariaPressed:Null.t<string>,
mutableariaReadOnly:Null.t<string>,
mutableariaRequired:Null.t<string>,
mutableariaRoleDescription:Null.t<string>,
mutableariaRowCount:Null.t<string>,
mutableariaRowIndex:Null.t<string>,
mutableariaRowIndexText:Null.t<string>,
mutableariaRowSpan:Null.t<string>,
mutableariaSelected:Null.t<string>,
mutableariaSetSize:Null.t<string>,
mutableariaSort:Null.t<string>,
mutableariaValueMax:Null.t<string>,
mutableariaValueMin:Null.t<string>,
mutableariaValueNow:Null.t<string>,
mutableariaValueText:Null.t<string>,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

assignedSlot
Null.t<htmlSlotElement >
ariaAtomic
Null.t< string >
ariaAutoComplete
Null.t< string >
ariaBrailleLabel
Null.t< string >
ariaBrailleRoleDescription
Null.t< string >
ariaBusy
Null.t< string >
ariaChecked
Null.t< string >
ariaColCount
Null.t< string >
ariaColIndex
Null.t< string >
ariaColIndexText
Null.t< string >
ariaColSpan
Null.t< string >
ariaCurrent
Null.t< string >
ariaDescription
Null.t< string >
ariaDisabled
Null.t< string >
ariaExpanded
Null.t< string >
ariaHasPopup
Null.t< string >
ariaHidden
Null.t< string >
ariaKeyShortcuts
Null.t< string >
ariaLabel
Null.t< string >
ariaLevel
Null.t< string >
ariaLive
Null.t< string >
ariaModal
Null.t< string >
ariaMultiLine
Null.t< string >
ariaMultiSelectable
Null.t< string >
ariaOrientation
Null.t< string >
ariaPlaceholder
Null.t< string >
ariaPosInSet
Null.t< string >
ariaPressed
Null.t< string >
ariaReadOnly
Null.t< string >
ariaRequired
Null.t< string >
ariaRoleDescription
Null.t< string >
ariaRowCount
Null.t< string >
ariaRowIndex
Null.t< string >
ariaRowIndexText
Null.t< string >
ariaRowSpan
Null.t< string >
ariaSelected
Null.t< string >
ariaSetSize
Null.t< string >
ariaSort
Null.t< string >
ariaValueMax
Null.t< string >
ariaValueMin
Null.t< string >
ariaValueNow
Null.t< string >
ariaValueText
Null.t< string >
nonce
option< string >
autofocus
bool
tabIndex
int

svgGraphicsElement

SVG elements whose primary purpose is to directly render graphics into a group.See SVGGraphicsElement on MDN

typesvgGraphicsElement= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
assignedSlot:Null.t<htmlSlotElement>,
mutableariaAtomic:Null.t<string>,
mutableariaAutoComplete:Null.t<string>,
mutableariaBrailleLabel:Null.t<string>,
mutableariaBrailleRoleDescription:Null.t<string>,
mutableariaBusy:Null.t<string>,
mutableariaChecked:Null.t<string>,
mutableariaColCount:Null.t<string>,
mutableariaColIndex:Null.t<string>,
mutableariaColIndexText:Null.t<string>,
mutableariaColSpan:Null.t<string>,
mutableariaCurrent:Null.t<string>,
mutableariaDescription:Null.t<string>,
mutableariaDisabled:Null.t<string>,
mutableariaExpanded:Null.t<string>,
mutableariaHasPopup:Null.t<string>,
mutableariaHidden:Null.t<string>,
mutableariaKeyShortcuts:Null.t<string>,
mutableariaLabel:Null.t<string>,
mutableariaLevel:Null.t<string>,
mutableariaLive:Null.t<string>,
mutableariaModal:Null.t<string>,
mutableariaMultiLine:Null.t<string>,
mutableariaMultiSelectable:Null.t<string>,
mutableariaOrientation:Null.t<string>,
mutableariaPlaceholder:Null.t<string>,
mutableariaPosInSet:Null.t<string>,
mutableariaPressed:Null.t<string>,
mutableariaReadOnly:Null.t<string>,
mutableariaRequired:Null.t<string>,
mutableariaRoleDescription:Null.t<string>,
mutableariaRowCount:Null.t<string>,
mutableariaRowIndex:Null.t<string>,
mutableariaRowIndexText:Null.t<string>,
mutableariaRowSpan:Null.t<string>,
mutableariaSelected:Null.t<string>,
mutableariaSetSize:Null.t<string>,
mutableariaSort:Null.t<string>,
mutableariaValueMax:Null.t<string>,
mutableariaValueMin:Null.t<string>,
mutableariaValueNow:Null.t<string>,
mutableariaValueText:Null.t<string>,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

assignedSlot
Null.t<htmlSlotElement >
ariaAtomic
Null.t< string >
ariaAutoComplete
Null.t< string >
ariaBrailleLabel
Null.t< string >
ariaBrailleRoleDescription
Null.t< string >
ariaBusy
Null.t< string >
ariaChecked
Null.t< string >
ariaColCount
Null.t< string >
ariaColIndex
Null.t< string >
ariaColIndexText
Null.t< string >
ariaColSpan
Null.t< string >
ariaCurrent
Null.t< string >
ariaDescription
Null.t< string >
ariaDisabled
Null.t< string >
ariaExpanded
Null.t< string >
ariaHasPopup
Null.t< string >
ariaHidden
Null.t< string >
ariaKeyShortcuts
Null.t< string >
ariaLabel
Null.t< string >
ariaLevel
Null.t< string >
ariaLive
Null.t< string >
ariaModal
Null.t< string >
ariaMultiLine
Null.t< string >
ariaMultiSelectable
Null.t< string >
ariaOrientation
Null.t< string >
ariaPlaceholder
Null.t< string >
ariaPosInSet
Null.t< string >
ariaPressed
Null.t< string >
ariaReadOnly
Null.t< string >
ariaRequired
Null.t< string >
ariaRoleDescription
Null.t< string >
ariaRowCount
Null.t< string >
ariaRowIndex
Null.t< string >
ariaRowIndexText
Null.t< string >
ariaRowSpan
Null.t< string >
ariaSelected
Null.t< string >
ariaSetSize
Null.t< string >
ariaSort
Null.t< string >
ariaValueMax
Null.t< string >
ariaValueMin
Null.t< string >
ariaValueNow
Null.t< string >
ariaValueText
Null.t< string >
nonce
option< string >
autofocus
bool
tabIndex
int

svgImageElement

Corresponds to the <image> element.See SVGImageElement on MDN

typesvgImageElement= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
namespaceURI:Null.t<string>,
prefix:Null.t<string>,
localName:string,
tagName:string,
mutableid:string,
mutableclassName:string,
classList:domTokenList,
mutableslot:string,
attributes:namedNodeMap,
shadowRoot:Null.t<shadowRoot>,
part:domTokenList,
mutablescrollTop:float,
mutablescrollLeft:float,
scrollWidth:int,
scrollHeight:int,
clientTop:int,
clientLeft:int,
clientWidth:int,
clientHeight:int,
currentCSSZoom:float,
mutableinnerHTML:string,
mutableouterHTML:string,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
assignedSlot:Null.t<htmlSlotElement>,
mutableariaAtomic:Null.t<string>,
mutableariaAutoComplete:Null.t<string>,
mutableariaBrailleLabel:Null.t<string>,
mutableariaBrailleRoleDescription:Null.t<string>,
mutableariaBusy:Null.t<string>,
mutableariaChecked:Null.t<string>,
mutableariaColCount:Null.t<string>,
mutableariaColIndex:Null.t<string>,
mutableariaColIndexText:Null.t<string>,
mutableariaColSpan:Null.t<string>,
mutableariaCurrent:Null.t<string>,
mutableariaDescription:Null.t<string>,
mutableariaDisabled:Null.t<string>,
mutableariaExpanded:Null.t<string>,
mutableariaHasPopup:Null.t<string>,
mutableariaHidden:Null.t<string>,
mutableariaKeyShortcuts:Null.t<string>,
mutableariaLabel:Null.t<string>,
mutableariaLevel:Null.t<string>,
mutableariaLive:Null.t<string>,
mutableariaModal:Null.t<string>,
mutableariaMultiLine:Null.t<string>,
mutableariaMultiSelectable:Null.t<string>,
mutableariaOrientation:Null.t<string>,
mutableariaPlaceholder:Null.t<string>,
mutableariaPosInSet:Null.t<string>,
mutableariaPressed:Null.t<string>,
mutableariaReadOnly:Null.t<string>,
mutableariaRequired:Null.t<string>,
mutableariaRoleDescription:Null.t<string>,
mutableariaRowCount:Null.t<string>,
mutableariaRowIndex:Null.t<string>,
mutableariaRowIndexText:Null.t<string>,
mutableariaRowSpan:Null.t<string>,
mutableariaSelected:Null.t<string>,
mutableariaSetSize:Null.t<string>,
mutableariaSort:Null.t<string>,
mutableariaValueMax:Null.t<string>,
mutableariaValueMin:Null.t<string>,
mutableariaValueNow:Null.t<string>,
mutableariaValueText:Null.t<string>,
dataset:domStringMap,
mutablenonce?:string,
mutableautofocus:bool,
mutabletabIndex:int,
style:cssStyleDeclaration,
attributeStyleMap:stylePropertyMap,
x:svgAnimatedLength,
y:svgAnimatedLength,
width:svgAnimatedLength,
height:svgAnimatedLength,
preserveAspectRatio:svgAnimatedPreserveAspectRatio,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
namespaceURI
Null.t< string >

Returns the namespace.Read more on MDN

prefix
Null.t< string >

Returns the namespace prefix.Read more on MDN

localName
string

Returns the local name.Read more on MDN

tagName
string

Returns the HTML-uppercased qualified name.Read more on MDN

id
string

Returns the value of element's id content attribute. Can be set to change it.Read more on MDN

className
string

Returns the value of element's class content attribute. Can be set to change it.Read more on MDN

classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.Read more on MDN

slot
string

Returns the value of element's slot content attribute. Can be set to change it.Read more on MDN

shadowRoot
Null.t<shadowRoot >

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.Read more on MDN

scrollTop
float
scrollLeft
float
scrollWidth
int
scrollHeight
int
clientTop
int
clientLeft
int
clientWidth
int
clientHeight
int
currentCSSZoom
float
innerHTML
string
outerHTML
string
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

assignedSlot
Null.t<htmlSlotElement >
ariaAtomic
Null.t< string >
ariaAutoComplete
Null.t< string >
ariaBrailleLabel
Null.t< string >
ariaBrailleRoleDescription
Null.t< string >
ariaBusy
Null.t< string >
ariaChecked
Null.t< string >
ariaColCount
Null.t< string >
ariaColIndex
Null.t< string >
ariaColIndexText
Null.t< string >
ariaColSpan
Null.t< string >
ariaCurrent
Null.t< string >
ariaDescription
Null.t< string >
ariaDisabled
Null.t< string >
ariaExpanded
Null.t< string >
ariaHasPopup
Null.t< string >
ariaHidden
Null.t< string >
ariaKeyShortcuts
Null.t< string >
ariaLabel
Null.t< string >
ariaLevel
Null.t< string >
ariaLive
Null.t< string >
ariaModal
Null.t< string >
ariaMultiLine
Null.t< string >
ariaMultiSelectable
Null.t< string >
ariaOrientation
Null.t< string >
ariaPlaceholder
Null.t< string >
ariaPosInSet
Null.t< string >
ariaPressed
Null.t< string >
ariaReadOnly
Null.t< string >
ariaRequired
Null.t< string >
ariaRoleDescription
Null.t< string >
ariaRowCount
Null.t< string >
ariaRowIndex
Null.t< string >
ariaRowIndexText
Null.t< string >
ariaRowSpan
Null.t< string >
ariaSelected
Null.t< string >
ariaSetSize
Null.t< string >
ariaSort
Null.t< string >
ariaValueMax
Null.t< string >
ariaValueMin
Null.t< string >
ariaValueNow
Null.t< string >
ariaValueText
Null.t< string >
nonce
option< string >
autofocus
bool
tabIndex
int

svgLength

Correspond to the <length> basic data type.See SVGLength on MDN

typesvgLength= {}

text

@editor.completeFrom(Text) The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.See Text on MDN

typetext= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
mutabledata:string,
length:int,
previousElementSibling:Null.t<element>,
nextElementSibling:Null.t<element>,
wholeText:string,
assignedSlot:Null.t<htmlSlotElement>,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
data
string
previousElementSibling
Null.t<element >

Returns the first preceding sibling that is an element, and null otherwise.Read more on MDN

nextElementSibling
Null.t<element >

Returns the first following sibling that is an element, and null otherwise.Read more on MDN

wholeText
string

Returns the combined data of all direct Text node siblings.Read more on MDN

assignedSlot
Null.t<htmlSlotElement >

Module

There are methods and helpers defined in Text.

textTrackList

typetextTrackList= {length:int}

Record fields

Module

There are methods and helpers defined in TextTrackList.

timeoutId

typetimeoutId

timeRanges

Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements.See TimeRanges on MDN

typetimeRanges= {length:int}

Record fields

length
int

Returns the number of ranges in the object.Read more on MDN

Module

There are methods and helpers defined in TimeRanges.

timerHandler

typetimerHandler=WebAPI.Prelude.any

treeWalker

The nodes of a document subtree and a position within them.See TreeWalker on MDN

typetreeWalker= {
root:node,
whatToShow:int,
filter:Null.t<nodeFilter>,
mutablecurrentNode:node,
}

Record fields

whatToShow
int

Module

There are methods and helpers defined in TreeWalker.

userActivation

typeuserActivation= {hasBeenActive:bool,isActive:bool}

Record fields

hasBeenActive
bool
isActive
bool

validityState

The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.See ValidityState on MDN

typevalidityState= {
valueMissing:bool,
typeMismatch:bool,
patternMismatch:bool,
tooLong:bool,
tooShort:bool,
rangeUnderflow:bool,
rangeOverflow:bool,
stepMismatch:bool,
badInput:bool,
customError:bool,
valid:bool,
}

Record fields

valueMissing
bool
typeMismatch
bool
patternMismatch
bool
tooLong
bool
tooShort
bool
rangeUnderflow
bool
rangeOverflow
bool
stepMismatch
bool
badInput
bool
customError
bool

validityStateFlags

typevalidityStateFlags= {
mutablevalueMissing?:bool,
mutabletypeMismatch?:bool,
mutablepatternMismatch?:bool,
mutabletooLong?:bool,
mutabletooShort?:bool,
mutablerangeUnderflow?:bool,
mutablerangeOverflow?:bool,
mutablestepMismatch?:bool,
mutablebadInput?:bool,
mutablecustomError?:bool,
}

Record fields

valueMissing
option< bool >
typeMismatch
option< bool >
patternMismatch
option< bool >
tooLong
option< bool >
tooShort
option< bool >
rangeUnderflow
option< bool >
rangeOverflow
option< bool >
stepMismatch
option< bool >
badInput
option< bool >
customError
option< bool >

vibratePattern

@unboxed
typevibratePattern=Int(int) |IntArray(array<int>)

videoColorPrimaries

typevideoColorPrimaries=
| @as("bt470bg")Bt470bg
| @as("bt709")Bt709
| @as("smpte170m")Smpte170m

videoColorSpace

typevideoColorSpace= {
primaries:Null.t<videoColorPrimaries>,
transfer:Null.t<videoTransferCharacteristics>,
matrix:Null.t<videoMatrixCoefficients>,
fullRange:Null.t<bool>,
}

Record fields

fullRange
Null.t< bool >

Module

There are methods and helpers defined in VideoColorSpace.

videoColorSpaceInit

typevideoColorSpaceInit= {
mutableprimaries?:Null.t<videoColorPrimaries>,
mutabletransfer?:Null.t<videoTransferCharacteristics>,
mutablematrix?:Null.t<videoMatrixCoefficients>,
mutablefullRange?:Null.t<bool>,
}

Record fields

primaries
option< Null.t<videoColorPrimaries > >
transfer
option< Null.t<videoTransferCharacteristics > >
matrix
option< Null.t<videoMatrixCoefficients > >
fullRange
option< Null.t< bool > >

videoFrame

typevideoFrame= {
format:Null.t<videoPixelFormat>,
codedWidth:int,
codedHeight:int,
codedRect:Null.t<domRectReadOnly>,
visibleRect:Null.t<domRectReadOnly>,
displayWidth:int,
displayHeight:int,
duration:Null.t<int>,
timestamp:int,
colorSpace:videoColorSpace,
}

Record fields

codedWidth
int
codedHeight
int
visibleRect
Null.t<domRectReadOnly >
displayWidth
int
displayHeight
int
duration
Null.t< int >
timestamp
int

Module

There are methods and helpers defined in VideoFrame.

videoFrameBufferInit

typevideoFrameBufferInit= {
mutableformat:videoPixelFormat,
mutablecodedWidth:int,
mutablecodedHeight:int,
mutabletimestamp:int,
mutableduration?:int,
mutablelayout?:array<planeLayout>,
mutablevisibleRect?:domRectInit,
mutabledisplayWidth?:int,
mutabledisplayHeight?:int,
mutablecolorSpace?:videoColorSpaceInit,
}

Record fields

codedWidth
int
codedHeight
int
timestamp
int
duration
option< int >
layout
option< array<planeLayout > >
visibleRect
option<domRectInit >
displayWidth
option< int >
displayHeight
option< int >
colorSpace

videoFrameCallbackMetadata

typevideoFrameCallbackMetadata= {
mutablepresentationTime:float,
mutableexpectedDisplayTime:float,
mutablewidth:int,
mutableheight:int,
mutablemediaTime:float,
mutablepresentedFrames:int,
mutableprocessingDuration?:float,
mutablecaptureTime?:float,
mutablereceiveTime?:float,
mutablertpTimestamp?:int,
}

Record fields

presentationTime
float
expectedDisplayTime
float
width
int
height
int
mediaTime
float
presentedFrames
int
processingDuration
option< float >
captureTime
option< float >
receiveTime
option< float >
rtpTimestamp
option< int >

videoFrameCopyToOptions

typevideoFrameCopyToOptions= {
mutablerect?:domRectInit,
mutablelayout?:array<planeLayout>,
mutableformat?:videoPixelFormat,
mutablecolorSpace?:predefinedColorSpace,
}

Record fields

rect
option<domRectInit >
layout
option< array<planeLayout > >
format
colorSpace

videoFrameInit

typevideoFrameInit= {
mutableduration?:int,
mutabletimestamp?:int,
mutablealpha?:alphaOption,
mutablevisibleRect?:domRectInit,
mutabledisplayWidth?:int,
mutabledisplayHeight?:int,
}

Record fields

duration
option< int >
timestamp
option< int >
alpha
option<alphaOption >
visibleRect
option<domRectInit >
displayWidth
option< int >
displayHeight
option< int >

videoFrameRequestCallback

typevideoFrameRequestCallback=float=>videoFrameCallbackMetadata=>unit

videoMatrixCoefficients

typevideoMatrixCoefficients=
| @as("bt470bg")Bt470bg
| @as("bt709")Bt709
| @as("rgb")Rgb
| @as("smpte170m")Smpte170m

videoPixelFormat

typevideoPixelFormat=
|BGRA
|BGRX
|I420
|I420A
|I422
|I444
|NV12
|RGBA
|RGBX

videoPlaybackQuality

Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.See VideoPlaybackQuality on MDN

typevideoPlaybackQuality= {
creationTime:float,
droppedVideoFrames:int,
totalVideoFrames:int,
}

Record fields

creationTime
float
droppedVideoFrames
int
totalVideoFrames
int

videoTransferCharacteristics

typevideoTransferCharacteristics=
| @as("bt709")Bt709
| @as("iec61966-2-1")Iec6196621
| @as("smpte170m")Smpte170m

voidFunction

typevoidFunction=unit=>unit

window

A window containing a DOM document; the document property points to the DOM document loaded in that window.See Window on MDN

typewindow= {
window:window,
self:window,
document:document,
mutablename:string,
mutablelocation:location,
history:WebAPI.HistoryAPI.history,
customElements:customElementRegistry,
locationbar:barProp,
menubar:barProp,
personalbar:barProp,
scrollbars:barProp,
statusbar:barProp,
toolbar:barProp,
closed:bool,
frames:window,
length:int,
top:Null.t<window>,
mutableopener:JSON.t,
parent:window,
frameElement:Null.t<element>,
navigator:navigator,
screen:screen,
visualViewport:Null.t<
WebAPI.VisualViewportAPI.visualViewport,
>,
innerWidth:int,
innerHeight:int,
scrollX:float,
scrollY:float,
screenX:int,
screenLeft:int,
screenY:int,
screenTop:int,
outerWidth:int,
outerHeight:int,
devicePixelRatio:float,
speechSynthesis:WebAPI.WebSpeechAPI.speechSynthesis,
origin:string,
isSecureContext:bool,
crossOriginIsolated:bool,
indexedDB:WebAPI.IndexedDBAPI.idbFactory,
crypto:WebAPI.WebCryptoAPI.crypto,
performance:WebAPI.PerformanceAPI.performance,
caches:WebAPI.WebWorkersAPI.cacheStorage,
sessionStorage:WebAPI.WebStorageAPI.storage,
localStorage:WebAPI.WebStorageAPI.storage,
}

Record fields

name
string
customElements

Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.Read more on MDN

locationbar

Returns true if the location bar is visible; otherwise, returns false.Read more on MDN

menubar

Returns true if the menu bar is visible; otherwise, returns false.Read more on MDN

personalbar

Returns true if the personal bar is visible; otherwise, returns false.Read more on MDN

scrollbars

Returns true if the scrollbars are visible; otherwise, returns false.Read more on MDN

statusbar

Returns true if the status bar is visible; otherwise, returns false.Read more on MDN

toolbar

Returns true if the toolbar is visible; otherwise, returns false.Read more on MDN

closed
bool

Returns true if the window has been closed, false otherwise.Read more on MDN

opener
JSON.t
parent

Refers to either the parent WindowProxy, or itself.

It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.Read more on MDN

frameElement
Null.t<element >
innerWidth
int
innerHeight
int
scrollX
float
scrollY
float
screenX
int
screenLeft
int
screenY
int
screenTop
int
outerWidth
int
outerHeight
int
devicePixelRatio
float
origin
string
isSecureContext
bool
crossOriginIsolated
bool

Module

There are methods and helpers defined in Window.

windowPostMessageOptions

typewindowPostMessageOptions= {
mutabletransfer?:array<Dict.t<string>>,
mutabletargetOrigin?:string,
}

Record fields

transfer
option< array< Dict.t< string > > >
targetOrigin
option< string >

xmlDocument

An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.See XMLDocument on MDN

typexmlDocument= {
nodeType:int,
nodeName:string,
baseURI:string,
isConnected:bool,
ownerDocument:Null.t<document>,
parentNode:Null.t<node>,
parentElement:Null.t<htmlElement>,
childNodes:nodeListOf<node>,
firstChild:Null.t<node>,
lastChild:Null.t<node>,
previousSibling:Null.t<node>,
nextSibling:Null.t<node>,
mutablenodeValue:Null.t<string>,
mutabletextContent:Null.t<string>,
implementation:domImplementation,
uRL:string,
documentURI:string,
compatMode:string,
characterSet:string,
contentType:string,
doctype:Null.t<documentType>,
documentElement:htmlElement,
scrollingElement:Null.t<element>,
fullscreenEnabled:bool,
mutablelocation:location,
referrer:string,
mutablecookie:string,
lastModified:string,
readyState:documentReadyState,
mutabletitle:string,
mutabledir:string,
mutablebody:htmlElement,
head:htmlHeadElement,
images:htmlCollectionOf<htmlImageElement>,
embeds:htmlCollectionOf<htmlEmbedElement>,
plugins:htmlCollectionOf<htmlEmbedElement>,
links:htmlCollectionOf<WebAPI.Prelude.any>,
forms:htmlCollectionOf<htmlFormElement>,
scripts:htmlCollectionOf<htmlScriptElement>,
currentScript:Null.t<htmlElement>,
defaultView:Null.t<window>,
mutabledesignMode:string,
hidden:bool,
visibilityState:documentVisibilityState,
pictureInPictureEnabled:bool,
fragmentDirective:fragmentDirective,
timeline:documentTimeline,
fonts:WebAPI.CSSFontLoadingAPI.fontFaceSet,
styleSheets:styleSheetList,
mutableadoptedStyleSheets:array<cssStyleSheet>,
fullscreenElement:Null.t<element>,
activeElement:Null.t<element>,
pictureInPictureElement:Null.t<element>,
pointerLockElement:Null.t<element>,
children:htmlCollection,
firstElementChild:Null.t<element>,
lastElementChild:Null.t<element>,
childElementCount:int,
}

Record fields

nodeType
int

Returns the type of node.Read more on MDN

nodeName
string

Returns a string appropriate for the type of node.Read more on MDN

baseURI
string

Returns node's node document's document base URL.Read more on MDN

isConnected
bool

Returns true if node is connected and false otherwise.Read more on MDN

ownerDocument
Null.t<document >

Returns the node document. Returns null for documents.Read more on MDN

parentNode
Null.t<node >

Returns the parent.Read more on MDN

parentElement
Null.t<htmlElement >

Returns the parent element.Read more on MDN

childNodes

Returns the children.Read more on MDN

firstChild
Null.t<node >

Returns the first child.Read more on MDN

lastChild
Null.t<node >

Returns the last child.Read more on MDN

previousSibling
Null.t<node >

Returns the previous sibling.Read more on MDN

nextSibling
Null.t<node >

Returns the next sibling.Read more on MDN

nodeValue
Null.t< string >
textContent
Null.t< string >
implementation

Gets the implementation object of the current document.Read more on MDN

uRL
string

Sets or gets the URL for the current document.Read more on MDN

documentURI
string

Returns document's URL.Read more on MDN

compatMode
string

Gets a value that indicates whether standards-compliant mode is switched on for the object.Read more on MDN

characterSet
string

Returns document's encoding.Read more on MDN

contentType
string

Returns document's content type.Read more on MDN

doctype
Null.t<documentType >

Gets an object representing the document type declaration associated with the current document.Read more on MDN

documentElement

Gets a reference to the root node of the document.Read more on MDN

scrollingElement
Null.t<element >
fullscreenEnabled
bool

Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.Read more on MDN

location

Contains information about the current URL.Read more on MDN

referrer
string

Gets the URL of the location that referred the user to the current page.Read more on MDN

cookie
string

Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.

Can be set, to add a new cookie to the element's set of HTTP cookies.

If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting.Read more on MDN

lastModified
string

Gets the date that the page was last modified, if the page supplies one.Read more on MDN

readyState

Retrieves a value that indicates the current state of the object.Read more on MDN

title
string

Contains the title of the document.Read more on MDN

dir
string

Sets or retrieves a value that indicates the reading order of the object.Read more on MDN

body

Specifies the beginning and end of the document body.Read more on MDN

head

Returns the head element.Read more on MDN

images

Retrieves a collection, in source order, of img objects in the document.Read more on MDN

embeds

Retrieves a collection of all embed objects in the document.Read more on MDN

plugins

Return an HTMLCollection of the embed elements in the Document.Read more on MDN

links

Retrieves a collection of all a objects that specify the href property and all area objects in the document.Read more on MDN

forms

Retrieves a collection, in source order, of all form objects in the document.Read more on MDN

scripts

Retrieves a collection of all script objects in the document.Read more on MDN

currentScript
Null.t<htmlElement >

Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.

Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.Read more on MDN

defaultView
Null.t<window >

Returns the Window object of the active document.Read more on MDN

designMode
string

Sets or gets a value that indicates whether the document can be edited.Read more on MDN

hidden
bool
pictureInPictureEnabled
bool
styleSheets

Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.Read more on MDN

adoptedStyleSheets
array<cssStyleSheet >
fullscreenElement
Null.t<element >

Returns document's fullscreen element.Read more on MDN

activeElement
Null.t<element >

Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document.

For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.

Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.Read more on MDN

pictureInPictureElement
Null.t<element >
pointerLockElement
Null.t<element >
children

Returns the child elements.Read more on MDN

firstElementChild
Null.t<element >

Returns the first child that is an element, and null otherwise.Read more on MDN

lastElementChild
Null.t<element >

Returns the last child that is an element, and null otherwise.Read more on MDN

childElementCount
int

xPathExpression

This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree.See XPathExpression on MDN

typexPathExpression= {}

Module

There are methods and helpers defined in XPathExpression.

xPathNSResolver

typexPathNSResolver=WebAPI.Prelude.any

xPathResult

The results generated by evaluating an XPath expression within the context of a given node.See XPathResult on MDN

typexPathResult= {
resultType:int,
numberValue:float,
stringValue:string,
booleanValue:bool,
singleNodeValue:Null.t<node>,
invalidIteratorState:bool,
snapshotLength:int,
}

Record fields

resultType
int
numberValue
float
stringValue
string
booleanValue
bool
singleNodeValue
Null.t<node >
invalidIteratorState
bool
snapshotLength
int

Module

There are methods and helpers defined in XPathResult.


[8]ページ先頭

©2009-2025 Movatter.jp