Module Webapi.Dom

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