Module Document.Impl

Parameters

module T : sig ... end

Signature

val asDocument : T.t -> Dom.document
val asHtmlDocument : T.t -> Dom.htmlDocument option
  • deprecated Will fail if no doctype is defined, consider using unsafeAsHtmlDocument instead
val unsafeAsHtmlDocument : T.t -> Dom.htmlDocument
val ofNode : Dom.node -> T.t option
val characterSet : T.t -> string
val compatMode : T.t -> Webapi__Dom__Types.compatMode
val doctype : T.t -> Dom.documentType
val documentElement : T.t -> Dom.element
val documentURI : T.t -> string
val hidden : T.t -> bool
val implementation : T.t -> Dom.domImplementation
val lastStyleSheetSet : T.t -> string
val pointerLockElement : T.t -> Dom.element option
val preferredStyleSheetSet : T.t -> string
val scrollingElement : T.t -> Dom.element option
val selectedStyleSheetSet : T.t -> string
val setSelectedStyleSheetSet : T.t -> string -> unit
val styleSheets : T.t -> Dom.cssStyleSheet array
val styleSheetSets : T.t -> string array
val visibilityState : T.t -> Webapi__Dom__Types.visibilityState
val adoptNode : 'a Dom.element_like -> T.t -> 'a Dom.element_like
val createAttribute : string -> T.t -> Dom.attr
val createAttributeNS : string -> string -> T.t -> Dom.attr
val createComment : string -> T.t -> Dom.comment
val createDocumentFragment : T.t -> Dom.documentFragment
val createElement : string -> T.t -> Dom.element
val createElementWithOptions : string -> < .. > Js.t -> T.t -> Dom.element
val createElementNS : string -> string -> T.t -> Dom.element
val createElementNSWithOptions : string -> string -> < .. > Js.t -> T.t -> Dom.element
val createEvent : string -> T.t -> Dom.event
val createNodeIterator : 'a Dom.node_like -> T.t -> Dom.nodeIterator
val createNodeIteratorWithWhatToShow : 'a Dom.node_like -> Webapi__Dom__Types.WhatToShow.t -> T.t -> Dom.nodeIterator
val createNodeIteratorWithWhatToShowFilter : 'a Dom.node_like -> Webapi__Dom__Types.WhatToShow.t -> Dom.nodeFilter -> T.t -> Dom.nodeIterator
val createRange : T.t -> Dom.range
val createTextNode : string -> T.t -> Dom.text
val createTreeWalker : 'a Dom.element_like -> T.t -> Dom.treeWalker
val createTreeWalkerWithWhatToShow : 'a Dom.element_like -> Webapi__Dom__Types.WhatToShow.t -> T.t -> Dom.treeWalker
val createTreeWalkerWithWhatToShowFilter : 'a Dom.element_like -> Webapi__Dom__Types.WhatToShow.t -> Dom.nodeFilter -> T.t -> Dom.treeWalker
val elementFromPoint : int -> int -> T.t -> Dom.element
val elementsFromPoint : int -> int -> T.t -> Dom.element array
val enableStyleSheetsForSet : string -> T.t -> unit
val exitPointerLock : T.t -> unit
val getAnimations : T.t -> Dom.animation array
val getElementsByClassName : string -> T.t -> Dom.htmlCollection
val getElementsByTagName : string -> T.t -> Dom.htmlCollection
val getElementsByTagNameNS : string -> string -> T.t -> Dom.htmlCollection
val importNode : 'a Dom.element_like -> T.t -> 'a Dom.element_like
val importNodeDeep : 'a Dom.element_like -> T.t -> 'a Dom.element_like
val registerElement : string -> unit -> T.t -> Dom.element
val registerElementWithOptions : string -> < .. > Js.t -> unit -> T.t -> Dom.element

XPath stuff