Module Webapi.Dom

module AnimationEvent: { ... };
module Attr: { ... };
module BeforeUnloadEvent: { ... };
module CdataSection: { ... };
module CharacterData: { ... };
module Comment: { ... };
module CssStyleDeclaration: { ... };
module ClipboardEvent: { ... };
module CloseEvent: { ... };
module CompositionEvent: { ... };
module CustomEvent: { ... };
module Document: { ... };
module DocumentFragment: { ... };
module DocumentType: { ... };
module DomImplementation: { ... };
module DomRect: { ... };
module DomStringMap: { ... };
module DomTokenList: { ... };
module DragEvent: { ... };
module Element: { ... };
module ErrorEvent: { ... };
module Event: { ... };
module EventTarget: { ... };
module FocusEvent: { ... };
module History: { ... };
module HtmlCollection: { ... };
module HtmlDocument: { ... };
module HtmlElement: { ... };
module HtmlFormElement: { ... };
module HtmlImageElement: { ... };
module HtmlInputElement: { ... };
module IdbVersionChangeEvent: { ... };
module Image: { ... };
module InputEvent: { ... };
module KeyboardEvent: { ... };
module Location: { ... };
module MouseEvent: { ... };
module MutationObserver: { ... };
module MutationRecord: { ... };
module NamedNodeMap: { ... };
module Node: { ... };
module NodeFilter: { ... };
module NodeIterator: { ... };
module NodeList: { ... };
module PageTransitionEvent: { ... };
module PointerEvent: { ... };
module PopStateEvent: { ... };
module ProcessingInstruction: { ... };
module ProgressEvent: { ... };
module Range: { ... };
module RelatedEvent: { ... };
module Selection: { ... };
module ShadowRoot: { ... };
module StorageEvent: { ... };
module SvgZoomEvent: { ... };
module Text: { ... };
module TimeEvent: { ... };
module TouchEvent: { ... };
module TrackEvent: { ... };
module TransitionEvent: { ... };
module TreeWalker: { ... };
module UiEvent: { ... };
module ValidityState: { ... };
module WebGlContextEvent: { ... };
module WheelEvent: { ... };
module Window: { ... };
include Webapi__Dom__Types;
type compareHow =
| StartToStart
| StartToEnd
| EndToEnd
| EndToStart
;
let encodeCompareHow: compareHow => int;
type compareResult =
| Before
| Equal
| After
| Unknown
;
let decodeCompareResult: int => compareResult;
type compatMode =
| BackCompat
| CSS1Compat
| Unknown
;
let decodeCompatMode: string => compatMode;
type contentEditable =
| True
| False
| Inherit
| Unknown
;
let encodeContentEditable: contentEditable => string;
let decodeContentEditable: string => contentEditable;
type deltaMode =
| Pixel
| Line
| Page
;
let decodeDeltaMode: int => deltaMode;
type designMode =
| On
| Off
| Unknown
;
let encodeDesignMode: designMode => string;
let decodeDesignMode: string => designMode;
type dir =
| Ltr
| Rtl
| Unknown
;
let encodeDir: dir => string;
let decodeDir: string => dir;
module EventPhase: { ... };
type eventPhase = EventPhase.t =
| None
| CapturingPhase
| AtTarget
| BubblingPhase
| Unknown
;
type filterAction =
| Accept
| Reject
| Skip
;
let encodeFilterAction: filterAction => int;
type insertPosition =
| BeforeBegin
| AfterBegin
| BeforeEnd
| AfterEnd
;
let encodeInsertPosition: insertPosition => string;
type modifierKey =
| Alt
| AltGraph
| CapsLock
| Control
| Fn
| FnLock
| Hyper
| Meta
| NumLock
| ScrollLock
| Shift
| Super
| Symbol
| SymbolLock
;
let encodeModifierKey: modifierKey => string;
type nodeType =
| Element
| Attribute
| Text
| CDATASection
| EntityReference
| Entity
| ProcessingInstruction
| Comment
| Document
| DocumentType
| DocumentFragment
| Notation
| Unknown
;
let decodeNodeType: int => nodeType;
type pointerType =
| Mouse
| Pen
| Touch
| Unknown
;
let decodePointerType: string => pointerType;
type readyState =
| Loading
| Interactive
| Complete
| Unknown
;
let decodeReadyState: string => readyState;
type shadowRootMode =
| Open
| Closed
;
let decodeShadowRootMode: string => shadowRootMode;
type visibilityState =
| Visible
| Hidden
| Prerender
| Unloaded
| Unknown
;
let decodeVisibilityState: string => visibilityState;
type image;
module type WhatToShowT = { ... };
let window: Dom.window;
let document: Dom.document;
let history: Dom.history;
let location: Dom.location;