Experimental Rescript WebAPI Documentation 0.1.0-experimental-d063925 This is the API documentation for the experimental WebAPI module version 0.1.0-experimental-d063925. More information can be found on https://rescript-lang.github.io/experimental-rescript-webapi/ File: src/CSSFontLoadingAPI.res Module: WebAPI.CSSFontLoadingAPI Types: - type fontDisplay = | @as("auto") Auto | @as("block") Block | @as("fallback") Fallback | @as("optional") Optional | @as("swap") Swap - type fontFaceLoadStatus = | @as("error") Error | @as("loaded") Loaded | @as("loading") Loading | @as("unloaded") Unloaded - type fontFaceSetLoadStatus = | @as("loaded") Loaded | @as("loading") Loading - type fontFace = { mutable family: string, mutable style: string, mutable weight: string, mutable stretch: string, mutable unicodeRange: string, mutable featureSettings: string, mutable display: fontDisplay, mutable ascentOverride: string, mutable descentOverride: string, mutable lineGapOverride: string, status: fontFaceLoadStatus, loaded: promise, } Description: [See FontFace on MDN](https://developer.mozilla.org/docs/Web/API/FontFace) Fields: - family: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/family) - style: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/style) - weight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/weight) - stretch: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/stretch) - unicodeRange: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) - featureSettings: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/featureSettings) - display: fontDisplay - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/display) - ascentOverride: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride) - descentOverride: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/descentOverride) - lineGapOverride: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/lineGapOverride) - status: fontFaceLoadStatus - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/status) - loaded: promise - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/loaded) - type fontFaceSet = { ready: promise, status: fontFaceSetLoadStatus, } Description: [See FontFaceSet on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet) Fields: - ready: promise - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) - status: fontFaceSetLoadStatus - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) - type fontFaceDescriptors = { mutable style?: string, mutable weight?: string, mutable stretch?: string, mutable unicodeRange?: string, mutable featureSettings?: string, mutable display?: fontDisplay, mutable ascentOverride?: string, mutable descentOverride?: string, mutable lineGapOverride?: string, } Fields: - style: option - weight: option - stretch: option - unicodeRange: option - featureSettings: option - display: option - ascentOverride: option - descentOverride: option - lineGapOverride: option --- File: src/CSSFontLoadingAPI/FontFace.res Module: WebAPI.FontFace Functions: - let make: ( ~family: string, ~source: string, ~descriptors: WebAPI.CSSFontLoadingAPI.fontFaceDescriptors=?, ) => WebAPI.CSSFontLoadingAPI.fontFace Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace) - let make2: ( ~family: string, ~source: DataView.t, ~descriptors: WebAPI.CSSFontLoadingAPI.fontFaceDescriptors=?, ) => WebAPI.CSSFontLoadingAPI.fontFace Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace) - let make3: ( ~family: string, ~source: ArrayBuffer.t, ~descriptors: WebAPI.CSSFontLoadingAPI.fontFaceDescriptors=?, ) => WebAPI.CSSFontLoadingAPI.fontFace Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace) - let load: WebAPI.CSSFontLoadingAPI.fontFace => promise< WebAPI.CSSFontLoadingAPI.fontFace, > Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/load) --- File: src/CSSFontLoadingAPI/FontFaceSet.res Module: WebAPI.FontFaceSet Functions: - let asEventTarget: WebAPI.CSSFontLoadingAPI.fontFaceSet => WebAPI.EventAPI.eventTarget - let addEventListener: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.addEventListenerOptions=?, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let addEventListenerWithCapture: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let removeEventListener: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.eventListenerOptions=?, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let removeEventListener_useCapture: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let dispatchEvent: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.EventAPI.event, ) => bool Description: Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) - let add: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.CSSFontLoadingAPI.fontFace, ) => WebAPI.CSSFontLoadingAPI.fontFaceSet Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/add) - let delete: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, WebAPI.CSSFontLoadingAPI.fontFace, ) => bool Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/delete) - let clear: WebAPI.CSSFontLoadingAPI.fontFaceSet => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/clear) - let load: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, ~font: string, ~text: string=?, ) => promise> Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/load) - let check: ( WebAPI.CSSFontLoadingAPI.fontFaceSet, ~font: string, ~text: string=?, ) => bool Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/check) --- File: src/CanvasAPI.res Module: WebAPI.CanvasAPI Types: - type offscreenRenderingContextId = | @as("2d") V2d | @as("bitmaprenderer") Bitmaprenderer | @as("webgl") Webgl | @as("webgl2") Webgl2 | @as("webgpu") Webgpu - type globalCompositeOperation = | @as("color") Color | @as("color-burn") ColorBurn | @as("color-dodge") ColorDodge | @as("copy") Copy | @as("darken") Darken | @as("destination-atop") DestinationAtop | @as("destination-in") DestinationIn | @as("destination-out") DestinationOut | @as("destination-over") DestinationOver | @as("difference") Difference | @as("exclusion") Exclusion | @as("hard-light") HardLight | @as("hue") Hue | @as("lighten") Lighten | @as("lighter") Lighter | @as("luminosity") Luminosity | @as("multiply") Multiply | @as("overlay") Overlay | @as("saturation") Saturation | @as("screen") Screen | @as("soft-light") SoftLight | @as("source-atop") SourceAtop | @as("source-in") SourceIn | @as("source-out") SourceOut | @as("source-over") SourceOver | @as("xor") Xor - type imageSmoothingQuality = | @as("high") High | @as("low") Low | @as("medium") Medium - type canvasLineCap = | @as("butt") Butt | @as("round") Round | @as("square") Square - type canvasLineJoin = | @as("bevel") Bevel | @as("miter") Miter | @as("round") Round - type canvasTextAlign = | @as("center") Center | @as("end") End | @as("left") Left | @as("right") Right | @as("start") Start - type canvasTextBaseline = | @as("alphabetic") Alphabetic | @as("bottom") Bottom | @as("hanging") Hanging | @as("ideographic") Ideographic | @as("middle") Middle | @as("top") Top - type canvasDirection = | @as("inherit") Inherit | @as("ltr") Ltr | @as("rtl") Rtl - type canvasFontKerning = | @as("auto") Auto | @as("none") None | @as("normal") Normal - type canvasFontStretch = | @as("condensed") Condensed | @as("expanded") Expanded | @as("extra-condensed") ExtraCondensed | @as("extra-expanded") ExtraExpanded | @as("normal") Normal | @as("semi-condensed") SemiCondensed | @as("semi-expanded") SemiExpanded | @as("ultra-condensed") UltraCondensed | @as("ultra-expanded") UltraExpanded - type canvasFontVariantCaps = | @as("all-petite-caps") AllPetiteCaps | @as("all-small-caps") AllSmallCaps | @as("normal") Normal | @as("petite-caps") PetiteCaps | @as("small-caps") SmallCaps | @as("titling-caps") TitlingCaps | @as("unicase") Unicase - type canvasTextRendering = | @as("auto") Auto | @as("geometricPrecision") GeometricPrecision | @as("optimizeLegibility") OptimizeLegibility | @as("optimizeSpeed") OptimizeSpeed - type predefinedColorSpace = | @as("display-p3") DisplayP3 | @as("srgb") Srgb - type canvasFillRule = | @as("evenodd") Evenodd | @as("nonzero") Nonzero - type webGLPowerPreference = | @as("default") Default | @as("high-performance") HighPerformance | @as("low-power") LowPower - type fillStyle - type offscreenCanvas = { mutable width: int, mutable height: int, } Description: [See OffscreenCanvas on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas) Fields: - width: int - These attributes return the dimensions of the OffscreenCanvas object's bitmap. They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it). [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/width) - height: int - These attributes return the dimensions of the OffscreenCanvas object's bitmap. They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it). [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height) - type imageBitmap = {width: int, height: int} Description: [See ImageBitmap on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmap) Fields: - width: int - Returns the intrinsic width of the image, in CSS pixels. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmap/width) - height: int - Returns the intrinsic height of the image, in CSS pixels. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmap/height) - type offscreenCanvasRenderingContext2D = { canvas: offscreenCanvas, mutable globalAlpha: float, mutable globalCompositeOperation: globalCompositeOperation, mutable imageSmoothingEnabled: bool, mutable imageSmoothingQuality: imageSmoothingQuality, mutable strokeStyle: fillStyle, mutable fillStyle: fillStyle, mutable shadowOffsetX: float, mutable shadowOffsetY: float, mutable shadowBlur: float, mutable shadowColor: string, mutable filter: string, mutable lineWidth: float, mutable lineCap: canvasLineCap, mutable lineJoin: canvasLineJoin, mutable miterLimit: float, mutable lineDashOffset: float, mutable font: string, mutable textAlign: canvasTextAlign, mutable textBaseline: canvasTextBaseline, mutable direction: canvasDirection, mutable letterSpacing: string, mutable fontKerning: canvasFontKerning, mutable fontStretch: canvasFontStretch, mutable fontVariantCaps: canvasFontVariantCaps, mutable textRendering: canvasTextRendering, mutable wordSpacing: string, } Description: [See OffscreenCanvasRenderingContext2D on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) Fields: - canvas: offscreenCanvas - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) - globalAlpha: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalAlpha) - globalCompositeOperation: globalCompositeOperation - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation) - imageSmoothingEnabled: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled) - imageSmoothingQuality: imageSmoothingQuality - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingQuality) - strokeStyle: fillStyle - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeStyle) - fillStyle: fillStyle - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillStyle) - shadowOffsetX: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX) - shadowOffsetY: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY) - shadowBlur: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowBlur) - shadowColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowColor) - filter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/filter) - lineWidth: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineWidth) - lineCap: canvasLineCap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineCap) - lineJoin: canvasLineJoin - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineJoin) - miterLimit: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/miterLimit) - lineDashOffset: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineDashOffset) - font: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/font) - textAlign: canvasTextAlign - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) - textBaseline: canvasTextBaseline - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textBaseline) - direction: canvasDirection - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/direction) - letterSpacing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) - fontKerning: canvasFontKerning - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontKerning) - fontStretch: canvasFontStretch - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontStretch) - fontVariantCaps: canvasFontVariantCaps - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) - textRendering: canvasTextRendering - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textRendering) - wordSpacing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/wordSpacing) - type imageBitmapRenderingContext = {canvas: unknown} Description: [See ImageBitmapRenderingContext on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) Fields: - canvas: unknown - Returns the canvas element that the context is bound to. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas) - type webGLRenderingContext = { canvas: unknown, drawingBufferWidth: float, drawingBufferHeight: float, mutable drawingBufferColorSpace: predefinedColorSpace, mutable unpackColorSpace: predefinedColorSpace, } Description: Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML element. [See WebGLRenderingContext on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext) Fields: - canvas: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) - drawingBufferWidth: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) - drawingBufferHeight: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) - drawingBufferColorSpace: predefinedColorSpace - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) - unpackColorSpace: predefinedColorSpace - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) - type webGL2RenderingContext = { canvas: unknown, drawingBufferWidth: float, drawingBufferHeight: float, mutable drawingBufferColorSpace: predefinedColorSpace, mutable unpackColorSpace: predefinedColorSpace, } Description: [See WebGL2RenderingContext on MDN](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext) Fields: - canvas: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) - drawingBufferWidth: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) - drawingBufferHeight: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) - drawingBufferColorSpace: predefinedColorSpace - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) - unpackColorSpace: predefinedColorSpace - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) - type canvasGradient = {} Description: An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). [See CanvasGradient on MDN](https://developer.mozilla.org/docs/Web/API/CanvasGradient) Fields: - type canvasPattern = {} Description: An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. [See CanvasPattern on MDN](https://developer.mozilla.org/docs/Web/API/CanvasPattern) Fields: - type path2D = {} Description: This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. [See Path2D on MDN](https://developer.mozilla.org/docs/Web/API/Path2D) Fields: - type textMetrics = { width: float, actualBoundingBoxLeft: float, actualBoundingBoxRight: float, fontBoundingBoxAscent: float, fontBoundingBoxDescent: float, actualBoundingBoxAscent: float, actualBoundingBoxDescent: float, emHeightAscent: float, emHeightDescent: float, hangingBaseline: float, alphabeticBaseline: float, ideographicBaseline: float, } Description: The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. [See TextMetrics on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics) Fields: - width: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/width) - actualBoundingBoxLeft: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxLeft) - actualBoundingBoxRight: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxRight) - fontBoundingBoxAscent: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxAscent) - fontBoundingBoxDescent: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxDescent) - actualBoundingBoxAscent: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxAscent) - actualBoundingBoxDescent: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxDescent) - emHeightAscent: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightAscent) - emHeightDescent: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightDescent) - hangingBaseline: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/hangingBaseline) - alphabeticBaseline: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/alphabeticBaseline) - ideographicBaseline: float - Returns the measurement described below. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/ideographicBaseline) - type offscreenRenderingContext = WebAPI.Prelude.any Fields: - type imageEncodeOptions = { mutable type_?: string, mutable quality?: float, } Fields: - type_: option - quality: option - type canvasRenderingContext2DSettings = { mutable alpha?: bool, mutable desynchronized?: bool, mutable colorSpace?: predefinedColorSpace, mutable willReadFrequently?: bool, } Fields: - alpha: option - desynchronized: option - colorSpace: option - willReadFrequently: option - type webGLContextAttributes = { mutable alpha?: bool, mutable depth?: bool, mutable stencil?: bool, mutable antialias?: bool, mutable premultipliedAlpha?: bool, mutable preserveDrawingBuffer?: bool, mutable powerPreference?: webGLPowerPreference, mutable failIfMajorPerformanceCaveat?: bool, mutable desynchronized?: bool, } Fields: - alpha: option - depth: option - stencil: option - antialias: option - premultipliedAlpha: option - preserveDrawingBuffer: option - powerPreference: option - failIfMajorPerformanceCaveat: option - desynchronized: option - type imageBitmapRenderingContextSettings = { mutable alpha?: bool, } Fields: - alpha: option --- File: src/CanvasAPI/CanvasGradient.res Module: WebAPI.CanvasGradient Functions: - let addColorStop: ( WebAPI.CanvasAPI.canvasGradient, ~offset: float, ~color: string, ) => unit Description: Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasGradient/addColorStop) - let isInstanceOf: 't => bool --- File: src/CanvasAPI/CanvasPattern.res Module: WebAPI.CanvasPattern Functions: - let setTransform: ( WebAPI.CanvasAPI.canvasPattern, ~transform: WebAPI.DOMAPI.domMatrix2DInit=?, ) => unit Description: Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasPattern/setTransform) - let isInstanceOf: 't => bool --- File: src/CanvasAPI/FillStyle.res Module: WebAPI.FillStyle Types: - type decoded = | String(string) | CanvasGradient(WebAPI.CanvasAPI.canvasGradient) | CanvasPattern(WebAPI.CanvasAPI.canvasPattern) Description: Represents a decoded version of the abstract `fillStyle` type, used in Context2D. Functions: - let fromString: string => WebAPI.CanvasAPI.fillStyle - let fromCanvasGradient: WebAPI.CanvasAPI.canvasGradient => WebAPI.CanvasAPI.fillStyle - let fromCanvasPattern: WebAPI.CanvasAPI.canvasGradient => WebAPI.CanvasAPI.fillStyle - let decode: WebAPI.CanvasAPI.fillStyle => decoded --- File: src/CanvasAPI/ImageBitmap.res Module: WebAPI.ImageBitmap Functions: - let close: WebAPI.CanvasAPI.imageBitmap => unit Description: Releases imageBitmap's underlying bitmap data. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmap/close) --- File: src/CanvasAPI/ImageBitmapRenderingContext.res Module: WebAPI.ImageBitmapRenderingContext Functions: - let transferFromImageBitmap: ( WebAPI.CanvasAPI.imageBitmapRenderingContext, WebAPI.CanvasAPI.imageBitmap, ) => unit Description: Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap) --- File: src/CanvasAPI/OffscreenCanvas.res Module: WebAPI.OffscreenCanvas Functions: - let make: ( ~width: int, ~height: int, ) => WebAPI.CanvasAPI.offscreenCanvas Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas) - let asEventTarget: WebAPI.CanvasAPI.offscreenCanvas => WebAPI.EventAPI.eventTarget - let addEventListener: ( WebAPI.CanvasAPI.offscreenCanvas, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.addEventListenerOptions=?, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let addEventListenerWithCapture: ( WebAPI.CanvasAPI.offscreenCanvas, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let removeEventListener: ( WebAPI.CanvasAPI.offscreenCanvas, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.eventListenerOptions=?, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let removeEventListener_useCapture: ( WebAPI.CanvasAPI.offscreenCanvas, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let dispatchEvent: ( WebAPI.CanvasAPI.offscreenCanvas, WebAPI.EventAPI.event, ) => bool Description: Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) - let getContext_2D: ( WebAPI.CanvasAPI.offscreenCanvas, ~options: JSON.t=?, ) => WebAPI.CanvasAPI.offscreenCanvasRenderingContext2D Description: Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API. This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL] Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context). [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/getContext) - let getContext_WebGL: ( WebAPI.CanvasAPI.offscreenCanvas, ~options: WebAPI.CanvasAPI.webGLContextAttributes=?, ) => WebAPI.CanvasAPI.webGLRenderingContext Description: Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API. This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL] Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context). [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/getContext) - let getContext_WebGL2: ( WebAPI.CanvasAPI.offscreenCanvas, ~options: WebAPI.CanvasAPI.webGLContextAttributes=?, ) => WebAPI.CanvasAPI.webGL2RenderingContext Description: Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API. This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL] Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context). [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/getContext) - let getContext_BitmapRenderer: ( WebAPI.CanvasAPI.offscreenCanvas, ~options: WebAPI.CanvasAPI.imageBitmapRenderingContextSettings=?, ) => WebAPI.CanvasAPI.imageBitmapRenderingContext Description: Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API. This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL] Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context). [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/getContext) - let transferToImageBitmap: WebAPI.CanvasAPI.offscreenCanvas => WebAPI.CanvasAPI.imageBitmap Description: Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap) - let convertToBlob: ( WebAPI.CanvasAPI.offscreenCanvas, ~options: WebAPI.CanvasAPI.imageEncodeOptions=?, ) => promise Description: Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object. The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn't supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/convertToBlob) --- File: src/CanvasAPI/Path2D.res Module: WebAPI.Path2D Functions: - let make: ( ~path: WebAPI.CanvasAPI.path2D=?, ) => WebAPI.CanvasAPI.path2D Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Path2D) - let make2: (~path: string=?) => WebAPI.CanvasAPI.path2D Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Path2D) - let closePath: WebAPI.CanvasAPI.path2D => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/closePath) - let moveTo: (WebAPI.CanvasAPI.path2D, ~x: float, ~y: float) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/moveTo) - let lineTo: (WebAPI.CanvasAPI.path2D, ~x: float, ~y: float) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineTo) - let quadraticCurveTo: ( WebAPI.CanvasAPI.path2D, ~cpx: float, ~cpy: float, ~x: float, ~y: float, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo) - let bezierCurveTo: ( WebAPI.CanvasAPI.path2D, ~cp1x: float, ~cp1y: float, ~cp2x: float, ~cp2y: float, ~x: float, ~y: float, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo) - let arcTo: ( WebAPI.CanvasAPI.path2D, ~x1: float, ~y1: float, ~x2: float, ~y2: float, ~radius: float, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arcTo) - let rect: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rect) - let roundRect: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ~radii_: array=?, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) - let roundRect2: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ~radii_: array=?, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) - let roundRect3: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ~radii_: array=?, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) - let arc: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~radius: float, ~startAngle: float, ~endAngle: float, ~counterclockwise: bool=?, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc) - let ellipse: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~radiusX: float, ~radiusY: float, ~rotation: float, ~startAngle: float, ~endAngle: float, ~counterclockwise: bool=?, ) => unit Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/ellipse) - let addPath: ( WebAPI.CanvasAPI.path2D, ~path: WebAPI.CanvasAPI.path2D, ~transform: WebAPI.DOMAPI.domMatrix2DInit=?, ) => unit Description: Adds to the path the path given by the argument. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Path2D/addPath) --- File: src/ChannelMessagingAPI.res Module: WebAPI.ChannelMessagingAPI Types: - type messagePort = {} Description: This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. [See MessagePort on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort) Fields: - type structuredSerializeOptions = { mutable transfer?: array>, } Fields: - transfer: option>> --- File: src/ChannelMessagingAPI/MessagePort.res Module: WebAPI.MessagePort Functions: - let asEventTarget: WebAPI.ChannelMessagingAPI.messagePort => WebAPI.EventAPI.eventTarget - let addEventListener: ( WebAPI.ChannelMessagingAPI.messagePort, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.addEventListenerOptions=?, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let addEventListenerWithCapture: ( WebAPI.ChannelMessagingAPI.messagePort, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let removeEventListener: ( WebAPI.ChannelMessagingAPI.messagePort, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.eventListenerOptions=?, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let removeEventListener_useCapture: ( WebAPI.ChannelMessagingAPI.messagePort, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let dispatchEvent: ( WebAPI.ChannelMessagingAPI.messagePort, WebAPI.EventAPI.event, ) => bool Description: Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) - let postMessage: ( WebAPI.ChannelMessagingAPI.messagePort, ~message: JSON.t, ~transfer: array>, ) => unit Description: Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side. Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage) - let postMessage2: ( WebAPI.ChannelMessagingAPI.messagePort, ~message: JSON.t, ~options: WebAPI.ChannelMessagingAPI.structuredSerializeOptions=?, ) => unit Description: Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side. Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage) - let start: WebAPI.ChannelMessagingAPI.messagePort => unit Description: Begins dispatching messages received on the port. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort/start) - let close: WebAPI.ChannelMessagingAPI.messagePort => unit Description: Disconnects the port, so that it is no longer active. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort/close) --- File: src/ClipboardAPI.res Module: WebAPI.ClipboardAPI Types: - type presentationStyle = | @as("attachment") Attachment | @as("inline") Inline | @as("unspecified") Unspecified - type clipboardItem = { presentationStyle: presentationStyle, types: array, } Description: [See ClipboardItem on MDN](https://developer.mozilla.org/docs/Web/API/ClipboardItem) Fields: - presentationStyle: presentationStyle - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) - types: array - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) - type clipboard = {} Description: [See Clipboard on MDN](https://developer.mozilla.org/docs/Web/API/Clipboard) Fields: - type clipboardItemOptions = { mutable presentationStyle?: presentationStyle, } Fields: - presentationStyle: option --- File: src/ClipboardAPI/Clipboard.res Module: WebAPI.Clipboard Functions: - let asEventTarget: WebAPI.ClipboardAPI.clipboard => WebAPI.EventAPI.eventTarget - let addEventListener: ( WebAPI.ClipboardAPI.clipboard, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.addEventListenerOptions=?, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let addEventListenerWithCapture: ( WebAPI.ClipboardAPI.clipboard, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) - let removeEventListener: ( WebAPI.ClipboardAPI.clipboard, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ~options: WebAPI.EventAPI.eventListenerOptions=?, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let removeEventListener_useCapture: ( WebAPI.ClipboardAPI.clipboard, WebAPI.EventAPI.eventType, WebAPI.EventAPI.eventListener<'event>, ) => unit Description: Removes the event listener in target's event listener list with the same type, callback, and options. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) - let dispatchEvent: ( WebAPI.ClipboardAPI.clipboard, WebAPI.EventAPI.event, ) => bool Description: Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) - let read: WebAPI.ClipboardAPI.clipboard => promise< array, > Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Clipboard/read) - let readText: WebAPI.ClipboardAPI.clipboard => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Clipboard/readText) - let write: ( WebAPI.ClipboardAPI.clipboard, array, ) => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Clipboard/write) - let writeText: (WebAPI.ClipboardAPI.clipboard, string) => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Clipboard/writeText) --- File: src/ClipboardAPI/ClipboardItem.res Module: WebAPI.ClipboardItem Functions: - let make: ( ~items: WebAPI.Prelude.any, ~options: WebAPI.ClipboardAPI.clipboardItemOptions=?, ) => WebAPI.ClipboardAPI.clipboardItem Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ClipboardItem) - let getType: ( WebAPI.ClipboardAPI.clipboardItem, string, ) => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType) - let supports: string => bool Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) --- File: src/CredentialManagementAPI.res Module: WebAPI.CredentialManagementAPI Types: - type authenticatorTransport = | @as("ble") Ble | @as("hybrid") Hybrid | @as("internal") Internal | @as("nfc") Nfc | @as("usb") Usb - type credentialMediationRequirement = | @as("conditional") Conditional | @as("optional") Optional | @as("required") Required | @as("silent") Silent - type publicKeyCredentialType = @as("public-key") PublicKey - type userVerificationRequirement = | @as("discouraged") Discouraged | @as("preferred") Preferred | @as("required") Required - type authenticatorAttachment = | @as("cross-platform") CrossPlatform | @as("platform") Platform - type residentKeyRequirement = | @as("discouraged") Discouraged | @as("preferred") Preferred | @as("required") Required - type attestationConveyancePreference = | @as("direct") Direct | @as("enterprise") Enterprise | @as("indirect") Indirect | @as("none") None - type credentialsContainer = {} Description: [See CredentialsContainer on MDN](https://developer.mozilla.org/docs/Web/API/CredentialsContainer) Fields: - type credential = {id: string, type_: string} Description: [See Credential on MDN](https://developer.mozilla.org/docs/Web/API/Credential) Fields: - id: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Credential/id) - type_: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Credential/type) - type publicKeyCredentialDescriptor = { mutable type_: publicKeyCredentialType, mutable id: WebAPI.Prelude.bufferSource, mutable transports?: array, } Fields: - type_: publicKeyCredentialType - id: WebAPI.Prelude.bufferSource - transports: option> - type authenticationExtensionsPRFValues = { mutable first: WebAPI.Prelude.bufferSource, mutable second?: WebAPI.Prelude.bufferSource, } Fields: - first: WebAPI.Prelude.bufferSource - second: option - type authenticationExtensionsPRFInputs = { mutable eval?: authenticationExtensionsPRFValues, mutable evalByCredential?: WebAPI.Prelude.any, } Fields: - eval: option - evalByCredential: option - type authenticationExtensionsClientInputs = { mutable minPinLength?: bool, mutable hmacCreateSecret?: bool, mutable appid?: string, mutable credProps?: bool, mutable prf?: authenticationExtensionsPRFInputs, } Fields: - minPinLength: option - hmacCreateSecret: option - appid: option - credProps: option - prf: option - type publicKeyCredentialRequestOptions = { mutable challenge: WebAPI.Prelude.bufferSource, mutable timeout?: int, mutable rpId?: string, mutable allowCredentials?: array< publicKeyCredentialDescriptor, >, mutable userVerification?: userVerificationRequirement, mutable extensions?: authenticationExtensionsClientInputs, } Fields: - challenge: WebAPI.Prelude.bufferSource - timeout: option - rpId: option - allowCredentials: option> - userVerification: option - extensions: option - type credentialRequestOptions = { mutable mediation?: credentialMediationRequirement, mutable signal?: WebAPI.EventAPI.abortSignal, mutable publicKey?: publicKeyCredentialRequestOptions, } Fields: - mediation: option - signal: option - publicKey: option - type publicKeyCredentialEntity = {mutable name: string} Fields: - name: string - type publicKeyCredentialRpEntity = { mutable name: string, mutable id?: string, } Fields: - name: string - id: option - type publicKeyCredentialUserEntity = { mutable name: string, mutable id: WebAPI.Prelude.bufferSource, mutable displayName: string, } Fields: - name: string - id: WebAPI.Prelude.bufferSource - displayName: string - type publicKeyCredentialParameters = { mutable type_: publicKeyCredentialType, mutable alg: int, } Fields: - type_: publicKeyCredentialType - alg: int - type authenticatorSelectionCriteria = { mutable authenticatorAttachment?: authenticatorAttachment, mutable residentKey?: residentKeyRequirement, mutable requireResidentKey?: bool, mutable userVerification?: userVerificationRequirement, } Fields: - authenticatorAttachment: option - residentKey: option - requireResidentKey: option - userVerification: option - type publicKeyCredentialCreationOptions = { mutable rp: publicKeyCredentialRpEntity, mutable user: publicKeyCredentialUserEntity, mutable challenge: WebAPI.Prelude.bufferSource, mutable pubKeyCredParams: array< publicKeyCredentialParameters, >, mutable timeout?: int, mutable excludeCredentials?: array< publicKeyCredentialDescriptor, >, mutable authenticatorSelection?: authenticatorSelectionCriteria, mutable attestation?: attestationConveyancePreference, mutable extensions?: authenticationExtensionsClientInputs, } Fields: - rp: publicKeyCredentialRpEntity - user: publicKeyCredentialUserEntity - challenge: WebAPI.Prelude.bufferSource - pubKeyCredParams: array - timeout: option - excludeCredentials: option> - authenticatorSelection: option - attestation: option - extensions: option - type credentialCreationOptions = { mutable signal?: WebAPI.EventAPI.abortSignal, mutable publicKey?: publicKeyCredentialCreationOptions, } Fields: - signal: option - publicKey: option --- File: src/CredentialManagementAPI/CredentialsContainer.res Module: WebAPI.CredentialsContainer Functions: - let get: ( WebAPI.CredentialManagementAPI.credentialsContainer, ~options: WebAPI.CredentialManagementAPI.credentialRequestOptions=?, ) => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/get) - let store: ( WebAPI.CredentialManagementAPI.credentialsContainer, WebAPI.CredentialManagementAPI.credential, ) => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/store) - let create: ( WebAPI.CredentialManagementAPI.credentialsContainer, ~options: WebAPI.CredentialManagementAPI.credentialCreationOptions=?, ) => promise Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/create) - let preventSilentAccess: WebAPI.CredentialManagementAPI.credentialsContainer => promise< unit, > Description: [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/preventSilentAccess) --- File: src/DOMAPI.res Module: WebAPI.DOMAPI Types: - type shadowRootMode = | @as("closed") Closed | @as("open") Open - type slotAssignmentMode = | @as("manual") Manual | @as("named") Named - type autoFillBase = @as("off") Off | @as("on") On - type documentReadyState = | @as("complete") Complete | @as("interactive") Interactive | @as("loading") Loading - type documentVisibilityState = | @as("hidden") Hidden | @as("visible") Visible - type orientationType = | @as("landscape-primary") LandscapePrimary | @as("landscape-secondary") LandscapeSecondary | @as("portrait-primary") PortraitPrimary | @as("portrait-secondary") PortraitSecondary - type insertPosition = | @as("afterbegin") Afterbegin | @as("afterend") Afterend | @as("beforebegin") Beforebegin | @as("beforeend") Beforeend - type scrollBehavior = | @as("auto") Auto | @as("instant") Instant | @as("smooth") Smooth - type fullscreenNavigationUI = | @as("auto") Auto | @as("hide") Hide | @as("show") Show - type remotePlaybackState = | @as("connected") Connected | @as("connecting") Connecting | @as("disconnected") Disconnected - type referrerPolicy = | @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 - type canPlayTypeResult = | @as("maybe") Maybe | @as("probably") Probably - type animationPlayState = | @as("finished") Finished | @as("idle") Idle | @as("paused") Paused | @as("running") Running - type animationReplaceState = | @as("active") Active | @as("persisted") Persisted | @as("removed") Removed - type fillMode = | @as("auto") Auto | @as("backwards") Backwards | @as("both") Both | @as("forwards") Forwards | @as("none") None - type playbackDirection = | @as("alternate") Alternate | @as("alternate-reverse") AlternateReverse | @as("normal") Normal | @as("reverse") Reverse - type imageOrientation = | @as("flipY") FlipY | @as("from-image") FromImage | @as("none") None - type premultiplyAlpha = | @as("default") Default | @as("none") None | @as("premultiply") Premultiply - type colorSpaceConversion = | @as("default") Default | @as("none") None - type resizeQuality = | @as("high") High | @as("low") Low | @as("medium") Medium | @as("pixelated") Pixelated - type scrollLogicalPosition = | @as("center") Center | @as("end") End | @as("nearest") Nearest | @as("start") Start - type selectionMode = | @as("end") End | @as("preserve") Preserve | @as("select") Select | @as("start") Start - type compositeOperation = | @as("accumulate") Accumulate | @as("add") Add | @as("replace") Replace - type iterationCompositeOperation = | @as("accumulate") Accumulate | @as("replace") Replace - type videoPixelFormat = | BGRA | BGRX | I420 | I420A | I422 | I444 | NV12 | RGBA | RGBX - type videoColorPrimaries = | @as("bt470bg") Bt470bg | @as("bt709") Bt709 | @as("smpte170m") Smpte170m - type videoTransferCharacteristics = | @as("bt709") Bt709 | @as("iec61966-2-1") Iec6196621 | @as("smpte170m") Smpte170m - type videoMatrixCoefficients = | @as("bt470bg") Bt470bg | @as("bt709") Bt709 | @as("rgb") Rgb | @as("smpte170m") Smpte170m - type alphaOption = @as("discard") Discard | @as("keep") Keep - type predefinedColorSpace = | @as("display-p3") DisplayP3 | @as("srgb") Srgb - type shareData = { mutable files?: array, mutable title?: string, mutable text?: string, mutable url?: string, } Fields: - files: option> - title: option - text: option - url: option - type location = { mutable href: string, origin: string, mutable protocol: string, mutable host: string, mutable hostname: string, mutable port: string, mutable pathname: string, mutable search: string, mutable hash: string, ancestorOrigins: WebAPI.Prelude.domStringList, } Description: @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](https://developer.mozilla.org/docs/Web/API/Location) Fields: - href: string - Returns the Location object's URL. Can be set, to navigate to the given URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Location/href) - origin: string - Returns the Location object's URL's origin. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Location/origin) - 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](https://developer.mozilla.org/docs/Web/API/Location/protocol) - 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](https://developer.mozilla.org/docs/Web/API/Location/host) - 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](https://developer.mozilla.org/docs/Web/API/Location/hostname) - 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](https://developer.mozilla.org/docs/Web/API/Location/port) - 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](https://developer.mozilla.org/docs/Web/API/Location/pathname) - 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](https://developer.mozilla.org/docs/Web/API/Location/search) - 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](https://developer.mozilla.org/docs/Web/API/Location/hash) - ancestorOrigins: WebAPI.Prelude.domStringList - 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](https://developer.mozilla.org/docs/Web/API/Location/ancestorOrigins) - type userActivation = {hasBeenActive: bool, isActive: bool} Description: [See UserActivation on MDN](https://developer.mozilla.org/docs/Web/API/UserActivation) Fields: - hasBeenActive: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) - isActive: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/UserActivation/isActive) - type navigator = { 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, onLine: bool, cookieEnabled: bool, pdfViewerEnabled: bool, hardwareConcurrency: int, storage: WebAPI.StorageAPI.storageManager, locks: WebAPI.WebLocksAPI.lockManager, webdriver: bool, } Description: 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](https://developer.mozilla.org/docs/Web/API/Navigator) Fields: - clipboard: WebAPI.ClipboardAPI.clipboard - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/clipboard) - credentials: WebAPI.CredentialManagementAPI.credentialsContainer - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/credentials) - geolocation: WebAPI.GeolocationAPI.geolocation - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation) - userActivation: userActivation - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/userActivation) - mediaCapabilities: WebAPI.MediaCapabilitiesAPI.mediaCapabilities - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/mediaCapabilities) - mediaDevices: WebAPI.MediaCaptureAndStreamsAPI.mediaDevices - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/mediaDevices) - mediaSession: WebAPI.MediaSessionAPI.mediaSession - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/mediaSession) - permissions: WebAPI.PermissionsAPI.permissions - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/permissions) - maxTouchPoints: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints) - wakeLock: WebAPI.ScreenWakeLockAPI.wakeLock - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/wakeLock) - serviceWorker: WebAPI.ServiceWorkerAPI.serviceWorkerContainer - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/serviceWorker) - userAgent: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) - language: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/language) - languages: array - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/languages) - onLine: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) - cookieEnabled: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/cookieEnabled) - pdfViewerEnabled: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) - hardwareConcurrency: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/hardwareConcurrency) - storage: WebAPI.StorageAPI.storageManager - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/storage) - locks: WebAPI.WebLocksAPI.lockManager - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/locks) - webdriver: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/webdriver) - type domTokenList = {length: int, mutable value: string} Description: 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](https://developer.mozilla.org/docs/Web/API/DOMTokenList) Fields: - length: int - Returns the number of tokens. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMTokenList/length) - value: string - Returns the associated set as string. Can be set, to change the associated attribute. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMTokenList/value) - type namedNodeMap = {length: int} Description: 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](https://developer.mozilla.org/docs/Web/API/NamedNodeMap) Fields: - length: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/length) - type fragmentDirective = {} Description: [See FragmentDirective on MDN](https://developer.mozilla.org/docs/Web/API/FragmentDirective) Fields: - type customElementRegistry = {} Description: [See CustomElementRegistry on MDN](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry) Fields: - type barProp = {visible: bool} Description: [See BarProp on MDN](https://developer.mozilla.org/docs/Web/API/BarProp) Fields: - visible: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/BarProp/visible) - type screenOrientation = { type_: orientationType, angle: int, } Description: [See ScreenOrientation on MDN](https://developer.mozilla.org/docs/Web/API/ScreenOrientation) Fields: - type_: orientationType - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) - angle: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) - type screen = { availWidth: int, availHeight: int, width: int, height: int, colorDepth: int, pixelDepth: int, orientation: screenOrientation, } Description: A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. [See Screen on MDN](https://developer.mozilla.org/docs/Web/API/Screen) Fields: - availWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/availWidth) - availHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/availHeight) - width: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/width) - height: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/height) - colorDepth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/colorDepth) - pixelDepth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/pixelDepth) - orientation: screenOrientation - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Screen/orientation) - @unboxed type vibratePattern = Int(int) | IntArray(array) - type renderingContext = WebAPI.Prelude.any Fields: - type offscreenRenderingContext = WebAPI.Prelude.any Fields: - type animationTimeline = {currentTime: Null.t} Description: [See AnimationTimeline on MDN](https://developer.mozilla.org/docs/Web/API/AnimationTimeline) Fields: - currentTime: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) - type documentTimeline = {currentTime: Null.t} Description: [See DocumentTimeline on MDN](https://developer.mozilla.org/docs/Web/API/DocumentTimeline) Fields: - currentTime: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) - type mediaList = {mutable mediaText: string, length: int} Description: [See MediaList on MDN](https://developer.mozilla.org/docs/Web/API/MediaList) Fields: - mediaText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaList/mediaText) - length: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaList/length) - type stylePropertyMapReadOnly = {size: int} Description: [See StylePropertyMapReadOnly on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly) Fields: - size: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size) - type stylePropertyMap = {size: int} Description: [See StylePropertyMap on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMap) Fields: - size: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size) - type domStringMap = {} Description: Used by the dataset HTML attribute to represent data for custom attributes added to elements. [See DOMStringMap on MDN](https://developer.mozilla.org/docs/Web/API/DOMStringMap) Fields: - type styleSheetList = {length: int} Description: A list of StyleSheet. [See StyleSheetList on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheetList) Fields: - length: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheetList/length) - type styleSheet = { type_: string, href: Null.t, ownerNode: Null.t, parentStyleSheet: Null.t, title: Null.t, media: mediaList, mutable disabled: bool, } Description: A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. [See StyleSheet on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet) Fields: - type_: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/type) - href: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/href) - ownerNode: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode) - parentStyleSheet: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet) - title: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/title) - media: mediaList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/media) - disabled: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/disabled) - type cssStyleSheet = { type_: string, href: Null.t, ownerNode: Null.t, parentStyleSheet: Null.t, title: Null.t, media: mediaList, mutable disabled: bool, ownerRule: Null.t, cssRules: cssRuleList, } Description: A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. [See CSSStyleSheet on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet) Fields: - type_: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/type) - href: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/href) - ownerNode: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode) - parentStyleSheet: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet) - title: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/title) - media: mediaList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/media) - disabled: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheet/disabled) - ownerRule: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/ownerRule) - cssRules: cssRuleList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/cssRules) - type cssRule = { mutable cssText: string, parentRule: Null.t, parentStyleSheet: Null.t, } Description: A single CSS rule. There are several types of rules, listed in the Type constants section below. [See CSSRule on MDN](https://developer.mozilla.org/docs/Web/API/CSSRule) Fields: - cssText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSRule/cssText) - parentRule: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSRule/parentRule) - parentStyleSheet: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSRule/parentStyleSheet) - type cssRuleList = {length: int} Description: A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. [See CSSRuleList on MDN](https://developer.mozilla.org/docs/Web/API/CSSRuleList) Fields: - length: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSRuleList/length) - type cssStyleDeclaration = { mutable cssText: string, length: int, parentRule: Null.t, mutable cx: string, mutable cy: string, mutable r: string, mutable rx: string, mutable ry: string, mutable x: string, mutable y: string, mutable vectorEffect: string, mutable d: string, mutable textAnchor: string, mutable fill: string, mutable stroke: string, mutable markerStart: string, mutable markerMid: string, mutable markerEnd: string, mutable marker: string, mutable paintOrder: string, mutable colorInterpolation: string, mutable shapeRendering: string, mutable textRendering: string, mutable pointerEvents: string, mutable stopColor: string, mutable stopOpacity: string, mutable webkitTextFillColor: string, mutable webkitTextStrokeColor: string, mutable webkitTextStrokeWidth: string, mutable webkitTextStroke: string, mutable touchAction: string, mutable positionArea: string, mutable top: string, mutable left: string, mutable right: string, mutable bottom: string, mutable justifySelf: string, mutable alignSelf: string, mutable justifyItems: string, mutable alignItems: string, mutable width: string, mutable height: string, mutable minWidth: string, mutable minHeight: string, mutable maxWidth: string, mutable maxHeight: string, mutable marginTop: string, mutable marginLeft: string, mutable marginRight: string, mutable marginBottom: string, mutable animationDuration: string, mutable animationComposition: string, mutable animationName: string, mutable animationTimingFunction: string, mutable animationIterationCount: string, mutable animationDirection: string, mutable animationPlayState: string, mutable animationDelay: string, mutable animationFillMode: string, mutable animation: string, mutable all: string, mutable containerType: string, mutable containerName: string, mutable container: string, mutable contain: string, mutable contentVisibility: string, mutable fontFamily: string, mutable fontWeight: string, mutable fontStyle: string, mutable fontSize: string, mutable fontSizeAdjust: string, mutable font: string, mutable fontSynthesisWeight: string, mutable fontSynthesisStyle: string, mutable fontSynthesisSmallCaps: string, mutable fontSynthesis: string, mutable fontKerning: string, mutable fontVariantLigatures: string, mutable fontVariantPosition: string, mutable fontVariantCaps: string, mutable fontVariantNumeric: string, mutable fontVariantAlternates: string, mutable fontVariantEastAsian: string, mutable fontVariant: string, mutable fontFeatureSettings: string, mutable fontOpticalSizing: string, mutable fontVariationSettings: string, mutable fontPalette: string, mutable fontStretch: string, mutable objectFit: string, mutable clipPath: string, mutable clipRule: string, mutable maskImage: string, mutable maskMode: string, mutable maskRepeat: string, mutable maskPosition: string, mutable maskClip: string, mutable maskOrigin: string, mutable maskSize: string, mutable maskComposite: string, mutable mask: string, mutable maskType: string, mutable transitionBehavior: string, mutable transitionProperty: string, mutable transitionDuration: string, mutable transitionTimingFunction: string, mutable transitionDelay: string, mutable transition: string, mutable viewTransitionName: string, mutable zoom: string, mutable filter: string, mutable colorInterpolationFilters: string, mutable display: string, mutable textTransform: string, mutable mathStyle: string, mutable mathDepth: string, mutable zIndex: string, mutable pageBreakBefore: string, mutable pageBreakAfter: string, mutable pageBreakInside: string, mutable mixBlendMode: string, mutable isolation: string, mutable backgroundBlendMode: string, mutable alignContent: string, mutable justifyContent: string, mutable placeContent: string, mutable placeSelf: string, mutable placeItems: string, mutable rowGap: string, mutable columnGap: string, mutable gap: string, mutable backgroundRepeat: string, mutable backgroundPosition: string, mutable backgroundPositionX: string, mutable backgroundPositionY: string, mutable backgroundClip: string, mutable backgroundColor: string, mutable backgroundImage: string, mutable backgroundAttachment: string, mutable backgroundOrigin: string, mutable backgroundSize: string, mutable background: string, mutable borderStyle: string, mutable borderWidth: string, mutable border: string, mutable borderImageSource: string, mutable borderImageSlice: string, mutable borderImageWidth: string, mutable borderImageOutset: string, mutable borderImageRepeat: string, mutable borderImage: string, mutable borderTopColor: string, mutable borderRightColor: string, mutable borderBottomColor: string, mutable borderLeftColor: string, mutable borderBlockStartColor: string, mutable borderBlockEndColor: string, mutable borderInlineStartColor: string, mutable borderInlineEndColor: string, mutable borderColor: string, mutable borderBlockColor: string, mutable borderInlineColor: string, mutable borderTopStyle: string, mutable borderRightStyle: string, mutable borderBottomStyle: string, mutable borderLeftStyle: string, mutable borderBlockStartStyle: string, mutable borderBlockEndStyle: string, mutable borderInlineStartStyle: string, mutable borderInlineEndStyle: string, mutable borderBlockStyle: string, mutable borderInlineStyle: string, mutable borderTopWidth: string, mutable borderRightWidth: string, mutable borderBottomWidth: string, mutable borderLeftWidth: string, mutable borderBlockStartWidth: string, mutable borderBlockEndWidth: string, mutable borderInlineStartWidth: string, mutable borderInlineEndWidth: string, mutable borderBlockWidth: string, mutable borderInlineWidth: string, mutable borderTop: string, mutable borderRight: string, mutable borderBottom: string, mutable borderLeft: string, mutable borderBlockStart: string, mutable borderBlockEnd: string, mutable borderInlineStart: string, mutable borderInlineEnd: string, mutable borderBlock: string, mutable borderInline: string, mutable borderTopLeftRadius: string, mutable borderTopRightRadius: string, mutable borderBottomRightRadius: string, mutable borderBottomLeftRadius: string, mutable borderStartStartRadius: string, mutable borderStartEndRadius: string, mutable borderEndStartRadius: string, mutable borderEndEndRadius: string, mutable borderRadius: string, mutable boxShadow: string, mutable margin: string, mutable paddingTop: string, mutable paddingRight: string, mutable paddingBottom: string, mutable paddingLeft: string, mutable padding: string, mutable breakBefore: string, mutable breakAfter: string, mutable breakInside: string, mutable orphans: string, mutable widows: string, mutable boxDecorationBreak: string, mutable colorScheme: string, mutable forcedColorAdjust: string, mutable printColorAdjust: string, mutable color: string, mutable opacity: string, mutable content: string, mutable quotes: string, mutable order: string, mutable visibility: string, mutable flexDirection: string, mutable flexWrap: string, mutable flexFlow: string, mutable flex: string, mutable flexGrow: string, mutable flexShrink: string, mutable flexBasis: string, mutable position: string, mutable float: string, mutable gridTemplateColumns: string, mutable gridTemplateRows: string, mutable gridAutoFlow: string, mutable gridTemplateAreas: string, mutable gridTemplate: string, mutable gridAutoColumns: string, mutable gridAutoRows: string, mutable grid: string, mutable gridRowStart: string, mutable gridColumnStart: string, mutable gridRowEnd: string, mutable gridColumnEnd: string, mutable gridRow: string, mutable gridColumn: string, mutable gridArea: string, mutable objectPosition: string, mutable imageRendering: string, mutable dominantBaseline: string, mutable verticalAlign: string, mutable lineHeight: string, mutable listStyleImage: string, mutable listStyleType: string, mutable listStylePosition: string, mutable listStyle: string, mutable counterReset: string, mutable counterIncrement: string, mutable counterSet: string, mutable blockSize: string, mutable inlineSize: string, mutable minBlockSize: string, mutable minInlineSize: string, mutable maxBlockSize: string, mutable maxInlineSize: string, mutable marginBlockStart: string, mutable marginBlockEnd: string, mutable marginInlineStart: string, mutable marginInlineEnd: string, mutable marginBlock: string, mutable marginInline: string, mutable paddingBlockStart: string, mutable paddingBlockEnd: string, mutable paddingInlineStart: string, mutable paddingInlineEnd: string, mutable paddingBlock: string, mutable paddingInline: string, mutable columnSpan: string, mutable columnWidth: string, mutable columnCount: string, mutable columns: string, mutable columnRuleColor: string, mutable columnRuleStyle: string, mutable columnRuleWidth: string, mutable columnRule: string, mutable columnFill: string, mutable overflowClipMargin: string, mutable textOverflow: string, mutable overflowX: string, mutable overflowY: string, mutable overflow: string, mutable scrollBehavior: string, mutable scrollbarGutter: string, mutable overscrollBehavior: string, mutable overscrollBehaviorX: string, mutable overscrollBehaviorY: string, mutable overscrollBehaviorInline: string, mutable overscrollBehaviorBlock: string, mutable clear: string, mutable page: string, mutable insetBlockStart: string, mutable insetInlineStart: string, mutable insetBlockEnd: string, mutable insetInlineEnd: string, mutable insetBlock: string, mutable insetInline: string, mutable inset: string, mutable rubyPosition: string, mutable rubyAlign: string, mutable overflowAnchor: string, mutable scrollSnapType: string, mutable scrollPadding: string, mutable scrollMargin: string, mutable scrollSnapAlign: string, mutable scrollSnapStop: string, mutable scrollPaddingTop: string, mutable scrollPaddingRight: string, mutable scrollPaddingBottom: string, mutable scrollPaddingLeft: string, mutable scrollPaddingInlineStart: string, mutable scrollPaddingBlockStart: string, mutable scrollPaddingInlineEnd: string, mutable scrollPaddingBlockEnd: string, mutable scrollPaddingBlock: string, mutable scrollPaddingInline: string, mutable scrollMarginTop: string, mutable scrollMarginRight: string, mutable scrollMarginBottom: string, mutable scrollMarginLeft: string, mutable scrollMarginBlockStart: string, mutable scrollMarginInlineStart: string, mutable scrollMarginBlockEnd: string, mutable scrollMarginInlineEnd: string, mutable scrollMarginBlock: string, mutable scrollMarginInline: string, mutable scrollbarColor: string, mutable scrollbarWidth: string, mutable shapeOutside: string, mutable shapeImageThreshold: string, mutable shapeMargin: string, mutable aspectRatio: string, mutable containIntrinsicWidth: string, mutable containIntrinsicHeight: string, mutable containIntrinsicBlockSize: string, mutable containIntrinsicInlineSize: string, mutable containIntrinsicSize: string, mutable boxSizing: string, mutable tableLayout: string, mutable borderCollapse: string, mutable borderSpacing: string, mutable captionSide: string, mutable emptyCells: string, mutable whiteSpace: string, mutable whiteSpaceCollapse: string, mutable tabSize: string, mutable textWrapMode: string, mutable textWrapStyle: string, mutable textWrap: string, mutable wordBreak: string, mutable lineBreak: string, mutable hyphens: string, mutable hyphenateCharacter: string, mutable overflowWrap: string, mutable textAlign: string, mutable textAlignLast: string, mutable wordSpacing: string, mutable letterSpacing: string, mutable textIndent: string, mutable textDecorationLine: string, mutable textDecorationStyle: string, mutable textDecorationColor: string, mutable textDecorationThickness: string, mutable textDecoration: string, mutable textUnderlinePosition: string, mutable textUnderlineOffset: string, mutable textDecorationSkipInk: string, mutable textEmphasisStyle: string, mutable textEmphasisColor: string, mutable textEmphasis: string, mutable textEmphasisPosition: string, mutable textShadow: string, mutable translate: string, mutable rotate: string, mutable scale: string, mutable transformStyle: string, mutable perspective: string, mutable perspectiveOrigin: string, mutable backfaceVisibility: string, mutable transform: string, mutable transformOrigin: string, mutable transformBox: string, mutable outline: string, mutable outlineWidth: string, mutable outlineStyle: string, mutable outlineColor: string, mutable outlineOffset: string, mutable resize: string, mutable cursor: string, mutable caretColor: string, mutable userSelect: string, mutable accentColor: string, mutable appearance: string, mutable willChange: string, mutable direction: string, mutable unicodeBidi: string, mutable writingMode: string, mutable textOrientation: string, mutable textCombineUpright: string, mutable fillRule: string, mutable fillOpacity: string, mutable strokeWidth: string, mutable strokeLinecap: string, mutable strokeLinejoin: string, mutable strokeMiterlimit: string, mutable strokeDasharray: string, mutable strokeDashoffset: string, mutable strokeOpacity: string, mutable backdropFilter: string, mutable offsetPath: string, mutable offsetDistance: string, mutable offsetPosition: string, mutable offsetAnchor: string, mutable offsetRotate: string, mutable offset: string, mutable cssFloat: string, } Description: An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. [See CSSStyleDeclaration on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration) Fields: - cssText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText) - length: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length) - parentRule: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule) - cx: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/cx) - cy: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/cy) - r: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/r) - rx: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/rx) - ry: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/ry) - x: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/x) - y: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/y) - vectorEffect: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/vector-effect) - d: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/d) - textAnchor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-anchor) - fill: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/fill) - stroke: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke) - markerStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/marker-start) - markerMid: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/marker-mid) - markerEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/marker-end) - marker: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/marker) - paintOrder: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/paint-order) - colorInterpolation: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) - shapeRendering: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) - textRendering: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-rendering) - pointerEvents: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/pointer-events) - stopColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stop-color) - stopOpacity: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) - webkitTextFillColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color) - webkitTextStrokeColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color) - webkitTextStrokeWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width) - webkitTextStroke: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke) - touchAction: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/touch-action) - positionArea: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/position-area) - top: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/top) - left: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/left) - right: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/right) - bottom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/bottom) - justifySelf: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/justify-self) - alignSelf: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/align-self) - justifyItems: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/justify-items) - alignItems: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/align-items) - width: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/width) - height: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/height) - minWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/min-width) - minHeight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/min-height) - maxWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/max-width) - maxHeight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/max-height) - marginTop: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-top) - marginLeft: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-left) - marginRight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-right) - marginBottom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-bottom) - animationDuration: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-duration) - animationComposition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-composition) - animationName: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-name) - animationTimingFunction: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) - animationIterationCount: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count) - animationDirection: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-direction) - animationPlayState: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) - animationDelay: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-delay) - animationFillMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode) - animation: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/animation) - all: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/all) - containerType: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/container-type) - containerName: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/container-name) - container: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/container) - contain: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/contain) - contentVisibility: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/content-visibility) - fontFamily: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-family) - fontWeight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-weight) - fontStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-style) - fontSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-size) - fontSizeAdjust: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-size-adjust) - font: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font) - fontSynthesisWeight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight) - fontSynthesisStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style) - fontSynthesisSmallCaps: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps) - fontSynthesis: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-synthesis) - fontKerning: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-kerning) - fontVariantLigatures: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures) - fontVariantPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant-position) - fontVariantCaps: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant-caps) - fontVariantNumeric: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric) - fontVariantAlternates: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates) - fontVariantEastAsian: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian) - fontVariant: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variant) - fontFeatureSettings: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-feature-settings) - fontOpticalSizing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing) - fontVariationSettings: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-variation-settings) - fontPalette: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-palette) - fontStretch: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/font-stretch) - objectFit: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/object-fit) - clipPath: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/clip-path) - clipRule: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/clip-rule) - maskImage: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-image) - maskMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-mode) - maskRepeat: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-repeat) - maskPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-position) - maskClip: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-clip) - maskOrigin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-origin) - maskSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-size) - maskComposite: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-composite) - mask: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask) - maskType: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mask-type) - transitionBehavior: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) - transitionProperty: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transition-property) - transitionDuration: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transition-duration) - transitionTimingFunction: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transition-timing-function) - transitionDelay: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transition-delay) - transition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transition) - viewTransitionName: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) - zoom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/zoom) - filter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/filter) - colorInterpolationFilters: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) - display: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/display) - textTransform: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-transform) - mathStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/math-style) - mathDepth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/math-depth) - zIndex: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/z-index) - pageBreakBefore: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/page-break-before) - pageBreakAfter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/page-break-after) - pageBreakInside: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/page-break-inside) - mixBlendMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode) - isolation: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/isolation) - backgroundBlendMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-blend-mode) - alignContent: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/align-content) - justifyContent: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/justify-content) - placeContent: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/place-content) - placeSelf: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/place-self) - placeItems: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/place-items) - rowGap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/row-gap) - columnGap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-gap) - gap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/gap) - backgroundRepeat: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-repeat) - backgroundPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-position) - backgroundPositionX: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-position-x) - backgroundPositionY: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-position-y) - backgroundClip: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-clip) - backgroundColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-color) - backgroundImage: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-image) - backgroundAttachment: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-attachment) - backgroundOrigin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-origin) - backgroundSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background-size) - background: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/background) - borderStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-style) - borderWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-width) - border: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border) - borderImageSource: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-image-source) - borderImageSlice: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-image-slice) - borderImageWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-image-width) - borderImageOutset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-image-outset) - borderImageRepeat: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-image-repeat) - borderImage: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-image) - borderTopColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-top-color) - borderRightColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-right-color) - borderBottomColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-bottom-color) - borderLeftColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-left-color) - borderBlockStartColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-start-color) - borderBlockEndColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-end-color) - borderInlineStartColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color) - borderInlineEndColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color) - borderColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-color) - borderBlockColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-color) - borderInlineColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-color) - borderTopStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-top-style) - borderRightStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-right-style) - borderBottomStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-bottom-style) - borderLeftStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-left-style) - borderBlockStartStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-start-style) - borderBlockEndStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-end-style) - borderInlineStartStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style) - borderInlineEndStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style) - borderBlockStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-style) - borderInlineStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-style) - borderTopWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-top-width) - borderRightWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-right-width) - borderBottomWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-bottom-width) - borderLeftWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-left-width) - borderBlockStartWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-start-width) - borderBlockEndWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-end-width) - borderInlineStartWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width) - borderInlineEndWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width) - borderBlockWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-width) - borderInlineWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-width) - borderTop: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-top) - borderRight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-right) - borderBottom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-bottom) - borderLeft: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-left) - borderBlockStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-start) - borderBlockEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block-end) - borderInlineStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-start) - borderInlineEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline-end) - borderBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-block) - borderInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-inline) - borderTopLeftRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius) - borderTopRightRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius) - borderBottomRightRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius) - borderBottomLeftRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius) - borderStartStartRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius) - borderStartEndRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius) - borderEndStartRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius) - borderEndEndRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius) - borderRadius: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-radius) - boxShadow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/box-shadow) - margin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin) - paddingTop: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-top) - paddingRight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-right) - paddingBottom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-bottom) - paddingLeft: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-left) - padding: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding) - breakBefore: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/break-before) - breakAfter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/break-after) - breakInside: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/break-inside) - orphans: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/orphans) - widows: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/widows) - boxDecorationBreak: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/box-decoration-break) - colorScheme: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/color-scheme) - forcedColorAdjust: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust) - printColorAdjust: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) - color: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/color) - opacity: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/opacity) - content: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/content) - quotes: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/quotes) - order: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/order) - visibility: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/visibility) - flexDirection: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex-direction) - flexWrap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex-wrap) - flexFlow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex-flow) - flex: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex) - flexGrow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex-grow) - flexShrink: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex-shrink) - flexBasis: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/flex-basis) - position: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/position) - float: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/float) - gridTemplateColumns: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-template-columns) - gridTemplateRows: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-template-rows) - gridAutoFlow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow) - gridTemplateAreas: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-template-areas) - gridTemplate: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-template) - gridAutoColumns: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns) - gridAutoRows: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows) - grid: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid) - gridRowStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-row-start) - gridColumnStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-column-start) - gridRowEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-row-end) - gridColumnEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-column-end) - gridRow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-row) - gridColumn: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-column) - gridArea: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/grid-area) - objectPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/object-position) - imageRendering: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/image-rendering) - dominantBaseline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) - verticalAlign: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/vertical-align) - lineHeight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/line-height) - listStyleImage: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/list-style-image) - listStyleType: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/list-style-type) - listStylePosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/list-style-position) - listStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/list-style) - counterReset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/counter-reset) - counterIncrement: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/counter-increment) - counterSet: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/counter-set) - blockSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/block-size) - inlineSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inline-size) - minBlockSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/min-block-size) - minInlineSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/min-inline-size) - maxBlockSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/max-block-size) - maxInlineSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/max-inline-size) - marginBlockStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-block-start) - marginBlockEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-block-end) - marginInlineStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-inline-start) - marginInlineEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-inline-end) - marginBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-block) - marginInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/margin-inline) - paddingBlockStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-block-start) - paddingBlockEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-block-end) - paddingInlineStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-inline-start) - paddingInlineEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-inline-end) - paddingBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-block) - paddingInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/padding-inline) - columnSpan: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-span) - columnWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-width) - columnCount: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-count) - columns: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/columns) - columnRuleColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-rule-color) - columnRuleStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-rule-style) - columnRuleWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-rule-width) - columnRule: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-rule) - columnFill: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/column-fill) - overflowClipMargin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin) - textOverflow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-overflow) - overflowX: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overflow-x) - overflowY: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overflow-y) - overflow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overflow) - scrollBehavior: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-behavior) - scrollbarGutter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) - overscrollBehavior: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior) - overscrollBehaviorX: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x) - overscrollBehaviorY: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y) - overscrollBehaviorInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline) - overscrollBehaviorBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block) - clear: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/clear) - page: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/page) - insetBlockStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset-block-start) - insetInlineStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset-inline-start) - insetBlockEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset-block-end) - insetInlineEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset-inline-end) - insetBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset-block) - insetInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset-inline) - inset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/inset) - rubyPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/ruby-position) - rubyAlign: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/ruby-align) - overflowAnchor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overflow-anchor) - scrollSnapType: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) - scrollPadding: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding) - scrollMargin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin) - scrollSnapAlign: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align) - scrollSnapStop: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop) - scrollPaddingTop: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top) - scrollPaddingRight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right) - scrollPaddingBottom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom) - scrollPaddingLeft: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left) - scrollPaddingInlineStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start) - scrollPaddingBlockStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start) - scrollPaddingInlineEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end) - scrollPaddingBlockEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end) - scrollPaddingBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block) - scrollPaddingInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline) - scrollMarginTop: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top) - scrollMarginRight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right) - scrollMarginBottom: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom) - scrollMarginLeft: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left) - scrollMarginBlockStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start) - scrollMarginInlineStart: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start) - scrollMarginBlockEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end) - scrollMarginInlineEnd: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end) - scrollMarginBlock: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block) - scrollMarginInline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline) - scrollbarColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) - scrollbarWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scrollbar-width) - shapeOutside: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/shape-outside) - shapeImageThreshold: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold) - shapeMargin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/shape-margin) - aspectRatio: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/aspect-ratio) - containIntrinsicWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width) - containIntrinsicHeight: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) - containIntrinsicBlockSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) - containIntrinsicInlineSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) - containIntrinsicSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) - boxSizing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/box-sizing) - tableLayout: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/table-layout) - borderCollapse: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-collapse) - borderSpacing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/border-spacing) - captionSide: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/caption-side) - emptyCells: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/empty-cells) - whiteSpace: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/white-space) - whiteSpaceCollapse: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) - tabSize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/tab-size) - textWrapMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) - textWrapStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) - textWrap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-wrap) - wordBreak: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/word-break) - lineBreak: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/line-break) - hyphens: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/hyphens) - hyphenateCharacter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/hyphenate-character) - overflowWrap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap) - textAlign: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-align) - textAlignLast: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-align-last) - wordSpacing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/word-spacing) - letterSpacing: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) - textIndent: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-indent) - textDecorationLine: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-decoration-line) - textDecorationStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-decoration-style) - textDecorationColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-decoration-color) - textDecorationThickness: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness) - textDecoration: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-decoration) - textUnderlinePosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-underline-position) - textUnderlineOffset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-underline-offset) - textDecorationSkipInk: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink) - textEmphasisStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style) - textEmphasisColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color) - textEmphasis: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-emphasis) - textEmphasisPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position) - textShadow: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-shadow) - translate: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/translate) - rotate: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/rotate) - scale: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/scale) - transformStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transform-style) - perspective: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/perspective) - perspectiveOrigin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) - backfaceVisibility: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/backface-visibility) - transform: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transform) - transformOrigin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transform-origin) - transformBox: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/transform-box) - outline: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/outline) - outlineWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/outline-width) - outlineStyle: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/outline-style) - outlineColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/outline-color) - outlineOffset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/outline-offset) - resize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/resize) - cursor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/cursor) - caretColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/caret-color) - userSelect: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/user-select) - accentColor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/accent-color) - appearance: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/appearance) - willChange: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/will-change) - direction: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/direction) - unicodeBidi: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/unicode-bidi) - writingMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/writing-mode) - textOrientation: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-orientation) - textCombineUpright: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) - fillRule: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/fill-rule) - fillOpacity: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) - strokeWidth: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-width) - strokeLinecap: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) - strokeLinejoin: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) - strokeMiterlimit: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) - strokeDasharray: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) - strokeDashoffset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) - strokeOpacity: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) - backdropFilter: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/backdrop-filter) - offsetPath: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/offset-path) - offsetDistance: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/offset-distance) - offsetPosition: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/offset-position) - offsetAnchor: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/offset-anchor) - offsetRotate: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/offset-rotate) - offset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/CSS/offset) - cssFloat: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) - type node = { nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, } Description: 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](https://developer.mozilla.org/docs/Web/API/Node) Fields: - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - type nodeList = {length: int} Description: NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). [See NodeList on MDN](https://developer.mozilla.org/docs/Web/API/NodeList) Fields: - length: int - Returns the number of nodes in the collection. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/NodeList/length) - type nodeListOf<'tNode> = {length: int} Fields: - length: int - Returns the number of nodes in the collection. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/NodeList/length) - type element = { nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, children: htmlCollection, firstElementChild: Null.t, lastElementChild: Null.t, childElementCount: int, previousElementSibling: Null.t, nextElementSibling: Null.t, assignedSlot: Null.t, mutable ariaAtomic: Null.t, mutable ariaAutoComplete: Null.t, mutable ariaBrailleLabel: Null.t, mutable ariaBrailleRoleDescription: Null.t, mutable ariaBusy: Null.t, mutable ariaChecked: Null.t, mutable ariaColCount: Null.t, mutable ariaColIndex: Null.t, mutable ariaColIndexText: Null.t, mutable ariaColSpan: Null.t, mutable ariaCurrent: Null.t, mutable ariaDescription: Null.t, mutable ariaDisabled: Null.t, mutable ariaExpanded: Null.t, mutable ariaHasPopup: Null.t, mutable ariaHidden: Null.t, mutable ariaKeyShortcuts: Null.t, mutable ariaLabel: Null.t, mutable ariaLevel: Null.t, mutable ariaLive: Null.t, mutable ariaModal: Null.t, mutable ariaMultiLine: Null.t, mutable ariaMultiSelectable: Null.t, mutable ariaOrientation: Null.t, mutable ariaPlaceholder: Null.t, mutable ariaPosInSet: Null.t, mutable ariaPressed: Null.t, mutable ariaReadOnly: Null.t, mutable ariaRequired: Null.t, mutable ariaRoleDescription: Null.t, mutable ariaRowCount: Null.t, mutable ariaRowIndex: Null.t, mutable ariaRowIndexText: Null.t, mutable ariaRowSpan: Null.t, mutable ariaSelected: Null.t, mutable ariaSetSize: Null.t, mutable ariaSort: Null.t, mutable ariaValueMax: Null.t, mutable ariaValueMin: Null.t, mutable ariaValueNow: Null.t, mutable ariaValueText: Null.t, } Description: 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](https://developer.mozilla.org/docs/Web/API/Element) Fields: - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - children: htmlCollection - Returns the child elements. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/children) - firstElementChild: Null.t - Returns the first child that is an element, and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild) - lastElementChild: Null.t - Returns the last child that is an element, and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild) - childElementCount: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/childElementCount) - previousElementSibling: Null.t - Returns the first preceding sibling that is an element, and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CharacterData/previousElementSibling) - nextElementSibling: Null.t - Returns the first following sibling that is an element, and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CharacterData/nextElementSibling) - assignedSlot: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/assignedSlot) - ariaAtomic: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) - ariaAutoComplete: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) - ariaBrailleLabel: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) - ariaBrailleRoleDescription: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) - ariaBusy: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) - ariaChecked: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked) - ariaColCount: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount) - ariaColIndex: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) - ariaColIndexText: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) - ariaColSpan: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) - ariaCurrent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) - ariaDescription: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) - ariaDisabled: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) - ariaExpanded: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) - ariaHasPopup: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) - ariaHidden: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden) - ariaKeyShortcuts: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts) - ariaLabel: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) - ariaLevel: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) - ariaLive: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaLive) - ariaModal: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaModal) - ariaMultiLine: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine) - ariaMultiSelectable: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable) - ariaOrientation: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) - ariaPlaceholder: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) - ariaPosInSet: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet) - ariaPressed: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed) - ariaReadOnly: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) - ariaRequired: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) - ariaRoleDescription: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription) - ariaRowCount: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount) - ariaRowIndex: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) - ariaRowIndexText: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) - ariaRowSpan: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) - ariaSelected: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) - ariaSetSize: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize) - ariaSort: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaSort) - ariaValueMax: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax) - ariaValueMin: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin) - ariaValueNow: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow) - ariaValueText: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) - type shadowRoot = { nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mode: shadowRootMode, delegatesFocus: bool, slotAssignment: slotAssignmentMode, clonable: bool, serializable: bool, host: element, mutable innerHTML: string, styleSheets: styleSheetList, mutable adoptedStyleSheets: array, fullscreenElement: Null.t, activeElement: Null.t, pictureInPictureElement: Null.t, pointerLockElement: Null.t, } Description: [See ShadowRoot on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot) Fields: - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - mode: shadowRootMode - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) - delegatesFocus: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) - slotAssignment: slotAssignmentMode - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) - clonable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) - serializable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) - host: element - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) - styleSheets: styleSheetList - 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](https://developer.mozilla.org/docs/Web/API/Document/styleSheets) - adoptedStyleSheets: array - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) - fullscreenElement: Null.t - Returns document's fullscreen element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement) - activeElement: Null.t - 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](https://developer.mozilla.org/docs/Web/API/Document/activeElement) - pictureInPictureElement: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement) - pointerLockElement: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement) - type htmlCollection = {length: int} Description: 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](https://developer.mozilla.org/docs/Web/API/HTMLCollection) Fields: - length: int - Sets or retrieves the number of objects in a collection. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLCollection/length) - type htmlCollectionOf<'t> = {length: int} Fields: - length: int - Sets or retrieves the number of objects in a collection. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLCollection/length) - type htmlFormControlsCollection = {length: int} Description: A collection of HTML form control elements. [See HTMLFormControlsCollection on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormControlsCollection) Fields: - length: int - Sets or retrieves the number of objects in a collection. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLCollection/length) - type htmlElement = { namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, style: cssStyleDeclaration, attributeStyleMap: stylePropertyMap, mutable contentEditable: string, mutable enterKeyHint: string, isContentEditable: bool, mutable inputMode: string, dataset: domStringMap, mutable nonce?: string, mutable autofocus: bool, mutable tabIndex: int, } Description: Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. [See HTMLElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement) Fields: - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - style: cssStyleDeclaration - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) - attributeStyleMap: stylePropertyMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) - contentEditable: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/contentEditable) - enterKeyHint: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/enterKeyHint) - isContentEditable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/isContentEditable) - inputMode: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inputMode) - dataset: domStringMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) - nonce: option - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce) - autofocus: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) - tabIndex: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex) - type htmlHeadElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, } Description: 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](https://developer.mozilla.org/docs/Web/API/HTMLHeadElement) Fields: - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - type htmlFormElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable acceptCharset: string, mutable action: string, mutable autocomplete: autoFillBase, mutable enctype: string, mutable encoding: string, mutable method: string, mutable name: string, mutable target: string, elements: htmlFormControlsCollection, length: int, } Description: A
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](https://developer.mozilla.org/docs/Web/API/HTMLFormElement) Fields: - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - 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](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/acceptCharset) - action: string - Sets or retrieves the URL to which the form content is sent for processing. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action) - autocomplete: autoFillBase - Specifies whether autocomplete is applied to an editable text field. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete) - enctype: string - Sets or retrieves the encoding type for the form. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/enctype) - encoding: string - Sets or retrieves the MIME encoding for the form. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/encoding) - method: string - Sets or retrieves how to send the form data to the server. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method) - name: string - Sets or retrieves the name of the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name) - target: string - Sets or retrieves the window or frame at which to target content. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target) - elements: htmlFormControlsCollection - Retrieves a collection, in source order, of all controls in a given form. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements) - length: int - Sets or retrieves the number of objects in a collection. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/length) - type htmlImageElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable alt: string, mutable src: string, mutable srcset: string, mutable sizes: string, mutable crossOrigin: Null.t, mutable useMap: string, mutable isMap: bool, mutable width: int, mutable height: int, naturalWidth: int, naturalHeight: int, complete: bool, currentSrc: string, mutable referrerPolicy: string, mutable decoding: string, mutable loading: string, mutable fetchPriority: string, x: int, y: int, } Description: Provides special properties and methods for manipulating elements. [See HTMLImageElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement) Fields: - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - alt: string - Sets or retrieves a text alternative to the graphic. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt) - src: string - The address or URL of the a media resource that is to be considered. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src) - srcset: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset) - sizes: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes) - crossOrigin: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin) - 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](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap) - isMap: bool - Sets or retrieves whether the image is a server-side image map. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap) - width: int - Sets or retrieves the width of the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width) - height: int - Sets or retrieves the height of the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height) - naturalWidth: int - The original width of the image resource before sizing. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth) - naturalHeight: int - The original height of the image resource before sizing. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight) - complete: bool - Retrieves whether the object is fully loaded. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete) - currentSrc: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc) - referrerPolicy: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy) - decoding: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) - loading: string - Sets or retrieves the policy for loading image elements that are outside the viewport. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading) - fetchPriority: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) - x: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x) - y: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y) - type htmlEmbedElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable src: string, mutable width: string, mutable height: string, } Description: Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating elements. [See HTMLEmbedElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement) Fields: - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - src: string - Sets or retrieves a URL to be loaded by the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src) - width: string - Sets or retrieves the width of the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width) - height: string - Sets or retrieves the height of the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height) - type htmlAnchorElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable target: string, mutable download: string, mutable ping: string, mutable rel: string, relList: domTokenList, mutable hreflang: string, mutable type_: string, mutable text: string, mutable referrerPolicy: string, mutable href: string, origin: string, mutable protocol: string, mutable username: string, mutable password: string, mutable host: string, mutable hostname: string, mutable port: string, mutable pathname: string, mutable search: string, mutable hash: string, } Description: 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement) Fields: - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - target: string - Sets or retrieves the window or frame at which to target content. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target) - download: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) - ping: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) - rel: string - Sets or retrieves the relationship between the object and the destination of the link. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rel) - relList: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList) - hreflang: string - Sets or retrieves the language code of the object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang) - type_: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type) - text: string - Retrieves or sets the text of the object as a string. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text) - referrerPolicy: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy) - href: string - Returns the hyperlink's URL. Can be set, to change the URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href) - origin: string - Returns the hyperlink's URL's origin. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin) - protocol: string - Returns the hyperlink's URL's scheme. Can be set, to change the URL's scheme. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol) - username: string - Returns the hyperlink's URL's username. Can be set, to change the URL's username. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username) - password: string - Returns the hyperlink's URL's password. Can be set, to change the URL's password. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password) - 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host) - hostname: string - Returns the hyperlink's URL's host. Can be set, to change the URL's host. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname) - port: string - Returns the hyperlink's URL's port. Can be set, to change the URL's port. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port) - pathname: string - Returns the hyperlink's URL's path. Can be set, to change the URL's path. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname) - 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search) - 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash) - type htmlAreaElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable target: string, mutable ping: string, mutable rel: string, relList: domTokenList, mutable referrerPolicy: string, mutable href: string, origin: string, mutable protocol: string, mutable username: string, mutable password: string, mutable host: string, mutable hostname: string, mutable port: string, mutable pathname: string, mutable search: string, mutable hash: string, } Description: 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 elements. [See HTMLAreaElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement) Fields: - title: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) - lang: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) - translate: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) - dir: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) - hidden: unknown - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) - inert: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert) - accessKey: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey) - accessKeyLabel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) - draggable: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable) - spellcheck: bool - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) - autocapitalize: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) - innerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText) - outerText: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) - popover: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) - offsetParent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent) - offsetTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop) - offsetLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft) - offsetWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth) - offsetHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight) - namespaceURI: Null.t - Returns the namespace. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI) - prefix: Null.t - Returns the namespace prefix. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/prefix) - localName: string - Returns the local name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/localName) - tagName: string - Returns the HTML-uppercased qualified name. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/tagName) - id: string - Returns the value of element's id content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/id) - className: string - Returns the value of element's class content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/className) - classList: domTokenList - Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/classList) - slot: string - Returns the value of element's slot content attribute. Can be set to change it. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/slot) - attributes: namedNodeMap - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/attributes) - shadowRoot: Null.t - Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot) - part: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/part) - scrollTop: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollTop) - scrollLeft: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft) - scrollWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth) - scrollHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight) - clientTop: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientTop) - clientLeft: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientLeft) - clientWidth: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) - clientHeight: int - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/clientHeight) - currentCSSZoom: float - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) - innerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) - outerHTML: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/outerHTML) - nodeType: int - Returns the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeType) - nodeName: string - Returns a string appropriate for the type of node. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeName) - baseURI: string - Returns node's node document's document base URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/baseURI) - isConnected: bool - Returns true if node is connected and false otherwise. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/isConnected) - ownerDocument: Null.t - Returns the node document. Returns null for documents. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument) - parentNode: Null.t - Returns the parent. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentNode) - parentElement: Null.t - Returns the parent element. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/parentElement) - childNodes: nodeListOf - Returns the children. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/childNodes) - firstChild: Null.t - Returns the first child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/firstChild) - lastChild: Null.t - Returns the last child. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/lastChild) - previousSibling: Null.t - Returns the previous sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/previousSibling) - nextSibling: Null.t - Returns the next sibling. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nextSibling) - nodeValue: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/nodeValue) - textContent: Null.t - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Node/textContent) - target: string - Sets or retrieves the window or frame at which to target content. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target) - ping: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) - rel: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel) - relList: domTokenList - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) - referrerPolicy: string - [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy) - href: string - Returns the hyperlink's URL. Can be set, to change the URL. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href) - origin: string - Returns the hyperlink's URL's origin. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin) - protocol: string - Returns the hyperlink's URL's scheme. Can be set, to change the URL's scheme. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol) - username: string - Returns the hyperlink's URL's username. Can be set, to change the URL's username. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username) - password: string - Returns the hyperlink's URL's password. Can be set, to change the URL's password. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password) - 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host) - hostname: string - Returns the hyperlink's URL's host. Can be set, to change the URL's host. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname) - port: string - Returns the hyperlink's URL's port. Can be set, to change the URL's port. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port) - pathname: string - Returns the hyperlink's URL's path. Can be set, to change the URL's path. [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname) - 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search) - 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](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash) - type htmlScriptElement = { mutable title: string, mutable lang: string, mutable translate: bool, mutable dir: string, mutable hidden: unknown, mutable inert: bool, mutable accessKey: string, accessKeyLabel: string, mutable draggable: bool, mutable spellcheck: bool, mutable autocapitalize: string, mutable innerText: string, mutable outerText: string, mutable popover: Null.t, offsetParent: Null.t, offsetTop: int, offsetLeft: int, offsetWidth: int, offsetHeight: int, namespaceURI: Null.t, prefix: Null.t, localName: string, tagName: string, mutable id: string, mutable className: string, classList: domTokenList, mutable slot: string, attributes: namedNodeMap, shadowRoot: Null.t, part: domTokenList, mutable scrollTop: float, mutable scrollLeft: float, scrollWidth: int, scrollHeight: int, clientTop: int, clientLeft: int, clientWidth: int, clientHeight: int, currentCSSZoom: float, mutable innerHTML: string, mutable outerHTML: string, nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t, parentNode: Null.t, parentElement: Null.t, childNodes: nodeListOf, firstChild: Null.t, lastChild: Null.t, previousSibling: Null.t, nextSibling: Null.t, mutable nodeValue: Null.t, mutable textContent: Null.t, mutable src: string, mutable type_: string, mutable noModule: bool, mutable async: bool, mutable defer: bool, mutable crossOrigin: Null.t, mutable text: string, mutable integrity: string, mutable referrerPolicy: string, mutable fetchPriority: string, } Description: HTML