API / Dom

You are currently looking at the v8.2 - v9.0 docs (Reason v3.6 syntax edition). You can find the latest API docs here.

Dom

The Dom module offers a canonical set of dom related types that third party libraries can depend on. It only provides types, no functions to manipulate the values of certain types whatsoever.

animation

RES
type animation

cssStyleDeclaration

RES
type cssStyleDeclaration

cssStyleSheet

RES
type cssStyleSheet

node

RES
type node

characterData

RES
type characterData

cdataSection

RES
type cdataSection

comment

RES
type comment

document

RES
type document

documentType

RES
type documentType

domImplementation

RES
type domImplementation

element

RES
type element

htmlCollection

RES
type htmlCollection

htmlFormControlsCollection

RES
type htmlFormControlsCollection

htmlOptionsCollection

RES
type htmlOptionsCollection

intersectionObserver

RES
type intersectionObserver

intersectionObserverEntry

RES
type intersectionObserverEntry

mutationObserver

RES
type mutationObserver

mutationRecord

RES
type mutationRecord

performanceObserver

RES
type performanceObserver

performanceObserverEntryList

RES
type performanceObserverEntryList

reportingObserver

RES
type reportingObserver

reportingObserverOptions

RES
type reportingObserverOptions

resizeObserver

RES
type resizeObserver

resizeObserverEntry

RES
type resizeObserverEntry

namedNodeMap

RES
type namedNodeMap

nodeList

RES
type nodeList

radioNodeList

RES
type radioNodeList

processingInstruction

RES
type processingInstruction

shadowRoot

RES
type shadowRoot

text

RES
type text

domRect

RES
type domRect

dataTransfer

RES
type dataTransfer

domStringMap

RES
type domStringMap

history

RES
type history

htmlDocument

RES
type htmlDocument

htmlElement

RES
type htmlElement

htmlAnchorElement

RES
type htmlAnchorElement

htmlAreaElement

RES
type htmlAreaElement

htmlAudioElement

RES
type htmlAudioElement

htmlBaseElement

RES
type htmlBaseElement

htmlBodyElement

RES
type htmlBodyElement

htmlBrElement

RES
type htmlBrElement

htmlButtonElement

RES
type htmlButtonElement

htmlCanvasElement

RES
type htmlCanvasElement

htmlDataElement

RES
type htmlDataElement

htmlDataListElement

RES
type htmlDataListElement

htmlDialogElement

RES
type htmlDialogElement

htmlDivElement

RES
type htmlDivElement

htmlDlistElement

RES
type htmlDlistElement

htmlEmbedElement

RES
type htmlEmbedElement

htmlFieldSetElement

RES
type htmlFieldSetElement

htmlFormElement

RES
type htmlFormElement

htmlHeadElement

RES
type htmlHeadElement

htmlHeadingElement

RES
type htmlHeadingElement

htmlHrElement

RES
type htmlHrElement

htmlHtmlElement

RES
type htmlHtmElement

htmlIframeElement

RES
type htmlIframeElement

htmlImageElement

RES
type htmlImageElement

htmlInputElement

RES
type htmlInputElement

htmlLabelElement

RES
type htmlLabelElement

htmlLegendElement

RES
type htmlLegendElement

htmlLiElement

RES
type htmlLiElement

htmlLinkElement

RES
type htmlLinkElement

htmlMapElement

RES
type htmlMapElement

htmlMediaElement

RES
type htmlMediaElement

htmlMenuElement

RES
type htmlMenuElement

htmlMetaElement

RES
type htmlMetaElement

htmlMeterElement

RES
type htmlMeterElement

htmlModElement

RES
type htmlModElement

htmlOListElement

RES
type htmlOListElement

htmlObjectElement

RES
type htmlObjectElement

htmlOptGroupElement

RES
type htmlOptGroupElement

htmlOptionElement

RES
type htmlOptionElement

htmlOutputElement

RES
type htmlOutputElement

htmlParagraphElement

RES
type htmlParagraphElement

htmlParamElement

RES
type htmlParamElement

htmlPreElement

RES
type htmlPreElement

htmlProgressElement

RES
type htmlProgressElement

htmlQuoteElement

RES
type htmlQuoteElement

htmlScriptElement

RES
type htmlScriptElement

htmlSelectElement

RES
type htmlSelectElement

htmlSlotElement

RES
type htmlSlotElement

htmlSourceElement

RES
type htmlSourceElement

htmlSpanElement

RES
type htmlSpanElement

htmlStyleElement

RES
type htmlStyleElement

htmlTableCaptionElement

RES
type htmlTableCaptionElement

htmlTableCellElement

RES
type htmlTableCellElement

htmlTableColElement

RES
type htmlTableColElement

htmlTableDataCellElement

RES
type htmlTableDataCellElement

htmlTableElement

RES
type htmlTableElement

htmlTableHeaderCellElement

RES
type htmlTableHeaderCellElement

htmlTableRowElement

RES
type htmlTableRowElement

htmlTableSectionElement

RES
type htmlTableSectionElement

htmlTextAreaElement

RES
type htmlTextAreaElement

htmlTimeElement

RES
type htmlTimeElement

htmlTitleElement

RES
type htmlTitleElement

htmlTrackElement

RES
type htmlTrackElement

htmlUlistElement

RES
type htmlUlistElement

htmlUnknownElement

RES
type htmlUnknownElement

htmlVideoElement

RES
type htmlVideoElement

location

RES
type location

window

RES
type window

xmlDocument

RES
type xmlDocument

event

RES
type event

uiEvent

RES
type uiEvent

animationEvent

RES
type animationEvent

beforeUnloadEvent

RES
type beforeUnloadEvent

clipboardEvent

RES
type clipboardEvent

closeEvent

RES
type closeEvent

compositionEvent

RES
type compositionEvent

customEvent

RES
type customEvent

dragEvent

RES
type dragEvent

errorEvent

RES
type errorEvent

focusEvent

RES
type focusEvent

idbVersionChangeEvent

RES
type idbVersionChangeEvent

inputEvent

RES
type inputEvent

keyboardEvent

RES
type keyboardEvent

mouseEvent

RES
type mouseEvent

pageTransitionEvent

RES
type pageTransitionEvent

pointerEvent

RES
type pointerEvent

popStateEvent

RES
type popStateEvent

progressEvent

RES
type progressEvent

relatedEvent

RES
type relatedEvent

storageEvent

RES
type storageEvent

svgZoomEvent

RES
type svgZoomEvent

timeEvent

RES
type timeEvent

touchEvent

RES
type touchEvent

trackEvent

RES
type trackEvent

transitionEvent

RES
type transitionEvent

webGlContextEvent

RES
type webGlContextEvent

wheelEvent

RES
type wheelEvent

range

RES
type range

selection

RES
type selection

domTokenList

RES
type domTokenList

domSettableTokenList

RES
type domSettableTokenList

nodeFilter

RES
type nodeFilter = { acceptNode: (Dom.element) => int }

nodeIterator

RES
type nodeIterator

treeWalker

RES
type treeWalker

svgRect

RES
type svgRect

svgPoint

RES
type svgPoint

eventPointerId

RES
type eventPointerId