Document$Typings extension

on

Properties

addEventListener → ({void Function<K$>(DocumentEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2
no setter
adoptNode ↔ T Function<T extends Node>(T)

Available on Document, provided by the Document$Typings extension

getter/setter pair
alinkColor String

Available on Document, provided by the Document$Typings extension

Sets or gets the color of all active links in the document. @deprecated
getter/setter pair
all HTMLAllCollection

Available on Document, provided by the Document$Typings extension

Returns a reference to the collection of elements contained by the object.
no setter
anchors HTMLCollectionOf<HTMLAnchorElement>

Available on Document, provided by the Document$Typings extension

Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.
no setter
applets HTMLCollection

Available on Document, provided by the Document$Typings extension

Retrieves a collection of all applet objects in the document.
no setter
bgColor String

Available on Document, provided by the Document$Typings extension

Deprecated. Sets or retrieves a value that indicates the background color behind the object. @deprecated
getter/setter pair
body HTMLElement

Available on Document, provided by the Document$Typings extension

Specifies the beginning and end of the document body.
getter/setter pair
captureEvents ↔ void Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
caretRangeFromPoint Range? Function(num, num)

Available on Document, provided by the Document$Typings extension

getter/setter pair
characterSet String

Available on Document, provided by the Document$Typings extension

Returns document's encoding.
no setter
charset String

Available on Document, provided by the Document$Typings extension

Gets or sets the character set used to encode the object.
no setter
clear ↔ void Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
close ↔ void Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
compatMode String

Available on Document, provided by the Document$Typings extension

Gets a value that indicates whether standards-compliant mode is switched on for the object.
no setter
contentType String

Available on Document, provided by the Document$Typings extension

Returns document's content type.
no setter

Available on Document, provided by the Document$Typings extension

Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.
getter/setter pair
createAttribute Attr Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
createAttributeNS Attr Function(String, [String?])

Available on Document, provided by the Document$Typings extension

getter/setter pair
createCDATASection CDATASection Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
createComment Comment Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
createDocumentFragment DocumentFragment Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
createElement → ({K$ Function<K$ extends Element>(HTMLElementTagNameMap<K$> tagName, [ElementCreationOptions? options]) $1, K$ Function<K$ extends Element>(HTMLElementDeprecatedTagNameMap<K$> tagName, [ElementCreationOptions? options]) $2, HTMLElement Function(String tagName, [ElementCreationOptions? options]) $3})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2, $3
no setter
createElementNS → ({HTMLElement Function(String namespaceURI, String qualifiedName) $1, K$ Function<K$ extends SVGElement>(String namespaceURI, SVGElementTagNameMap<K$> qualifiedName) $2, SVGElement Function(String namespaceURI, String qualifiedName) $3, K$ Function<K$ extends Element>(String namespaceURI, MathMLElementTagNameMap<K$> qualifiedName) $4, MathMLElement Function(String namespaceURI, String qualifiedName) $5, Element Function(String? namespaceURI, String qualifiedName, [ElementCreationOptions? options]) $6, Element Function(String? namespace, String qualifiedName, [Object? options]) $7})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2, $3, $4, $5, $6, $7
no setter
createEvent → ({AnimationEvent Function(String eventInterface) $1, DeviceMotionEvent Function(String eventInterface) $10, DeviceOrientationEvent Function(String eventInterface) $11, DragEvent Function(String eventInterface) $12, ErrorEvent Function(String eventInterface) $13, Event Function(String eventInterface) $14, Event Function(String eventInterface) $15, FocusEvent Function(String eventInterface) $16, FontFaceSetLoadEvent Function(String eventInterface) $17, FormDataEvent Function(String eventInterface) $18, GamepadEvent Function(String eventInterface) $19, AnimationPlaybackEvent Function(String eventInterface) $2, HashChangeEvent Function(String eventInterface) $20, IDBVersionChangeEvent Function(String eventInterface) $21, InputEvent Function(String eventInterface) $22, KeyboardEvent Function(String eventInterface) $23, MIDIConnectionEvent Function(String eventInterface) $24, MIDIMessageEvent Function(String eventInterface) $25, MediaEncryptedEvent Function(String eventInterface) $26, MediaKeyMessageEvent Function(String eventInterface) $27, MediaQueryListEvent Function(String eventInterface) $28, MediaStreamTrackEvent Function(String eventInterface) $29, AudioProcessingEvent Function(String eventInterface) $3, MessageEvent Function(String eventInterface) $30, MouseEvent Function(String eventInterface) $31, MouseEvent Function(String eventInterface) $32, MutationEvent Function(String eventInterface) $33, MutationEvent Function(String eventInterface) $34, OfflineAudioCompletionEvent Function(String eventInterface) $35, PageTransitionEvent Function(String eventInterface) $36, PaymentMethodChangeEvent Function(String eventInterface) $37, PaymentRequestUpdateEvent Function(String eventInterface) $38, PictureInPictureEvent Function(String eventInterface) $39, BeforeUnloadEvent Function(String eventInterface) $4, PointerEvent Function(String eventInterface) $40, PopStateEvent Function(String eventInterface) $41, ProgressEvent<EventTarget> Function(String eventInterface) $42, PromiseRejectionEvent Function(String eventInterface) $43, RTCDTMFToneChangeEvent Function(String eventInterface) $44, RTCDataChannelEvent Function(String eventInterface) $45, RTCErrorEvent Function(String eventInterface) $46, RTCPeerConnectionIceErrorEvent Function(String eventInterface) $47, RTCPeerConnectionIceEvent Function(String eventInterface) $48, RTCTrackEvent Function(String eventInterface) $49, BlobEvent Function(String eventInterface) $5, SecurityPolicyViolationEvent Function(String eventInterface) $50, SpeechSynthesisErrorEvent Function(String eventInterface) $51, SpeechSynthesisEvent Function(String eventInterface) $52, StorageEvent Function(String eventInterface) $53, SubmitEvent Function(String eventInterface) $54, ToggleEvent Function(String eventInterface) $55, TouchEvent Function(String eventInterface) $56, TrackEvent Function(String eventInterface) $57, TransitionEvent Function(String eventInterface) $58, UIEvent Function(String eventInterface) $59, ClipboardEvent Function(String eventInterface) $6, UIEvent Function(String eventInterface) $60, WebGLContextEvent Function(String eventInterface) $61, WheelEvent Function(String eventInterface) $62, Event Function(String eventInterface) $63, CloseEvent Function(String eventInterface) $7, CompositionEvent Function(String eventInterface) $8, CustomEvent Function(String eventInterface) $9})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63
no setter
createNodeIterator NodeIterator Function(Node, [num?, Object?])

Available on Document, provided by the Document$Typings extension

getter/setter pair
createProcessingInstruction ProcessingInstruction Function(String, String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
createRange Range Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
createTextNode Text Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
createTreeWalker TreeWalker Function(Node, [num?, Object?])

Available on Document, provided by the Document$Typings extension

getter/setter pair
currentScript HTMLOrSVGScriptElement?

Available on Document, provided by the Document$Typings extension

Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.
no setter
defaultView → _Intersection1?

Available on Document, provided by the Document$Typings extension

Returns the Window object of the active document.
no setter
designMode String

Available on Document, provided by the Document$Typings extension

Sets or gets a value that indicates whether the document can be edited.
getter/setter pair
dir String

Available on Document, provided by the Document$Typings extension

Sets or retrieves a value that indicates the reading order of the object.
getter/setter pair
doctype DocumentType?

Available on Document, provided by the Document$Typings extension

Gets an object representing the document type declaration associated with the current document.
no setter
documentElement HTMLElement

Available on Document, provided by the Document$Typings extension

Gets a reference to the root node of the document.
no setter
documentURI String

Available on Document, provided by the Document$Typings extension

Returns document's URL.
no setter
domain String

Available on Document, provided by the Document$Typings extension

Sets or gets the security domain of the document. @deprecated
getter/setter pair
embeds HTMLCollectionOf<HTMLEmbedElement>

Available on Document, provided by the Document$Typings extension

Retrieves a collection of all embed objects in the document.
no setter
execCommand bool Function(String, [bool?, String?])

Available on Document, provided by the Document$Typings extension

getter/setter pair
exitFullscreen Future<void> Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
exitPictureInPicture Future<void> Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
exitPointerLock ↔ void Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
fgColor String

Available on Document, provided by the Document$Typings extension

Sets or gets the foreground (text) color of the document. @deprecated
getter/setter pair
forms HTMLCollectionOf<HTMLFormElement>

Available on Document, provided by the Document$Typings extension

Retrieves a collection, in source order, of all form objects in the document.
no setter
fullscreen bool

Available on Document, provided by the Document$Typings extension

no setter
fullscreenEnabled bool

Available on Document, provided by the Document$Typings extension

Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.
no setter
getElementById HTMLElement? Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
getElementsByClassName HTMLCollectionOf<Element> Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
getElementsByName NodeListOf<HTMLElement> Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
getElementsByTagName → ({HTMLCollectionOf<K$> Function<K$ extends Element>(HTMLElementTagNameMap<K$> qualifiedName) $1, HTMLCollectionOf<Element> Function(String qualifiedName) $2})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2
no setter
getElementsByTagNameNS → ({HTMLCollectionOf<HTMLElement> Function(String namespaceURI, String localName) $1, HTMLCollectionOf<SVGElement> Function(String namespaceURI, String localName) $2, HTMLCollectionOf<MathMLElement> Function(String namespaceURI, String localName) $3, HTMLCollectionOf<Element> Function(String localName, [String? namespace]) $4})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2, $3, $4
no setter
getSelection Selection? Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
hasFocus bool Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
hasStorageAccess Future<bool> Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair

Available on Document, provided by the Document$Typings extension

Returns the head element.
no setter
hidden bool

Available on Document, provided by the Document$Typings extension

MDN Reference
no setter
images HTMLCollectionOf<HTMLImageElement>

Available on Document, provided by the Document$Typings extension

Retrieves a collection, in source order, of img objects in the document.
no setter
implementation DOMImplementation

Available on Document, provided by the Document$Typings extension

Gets the implementation object of the current document.
no setter
importNode ↔ T Function<T extends Node>(T, [bool?])

Available on Document, provided by the Document$Typings extension

getter/setter pair
inputEncoding String

Available on Document, provided by the Document$Typings extension

Returns the character encoding used to create the webpage that is loaded into the document object.
no setter
lastModified String

Available on Document, provided by the Document$Typings extension

Gets the date that the page was last modified, if the page supplies one.
no setter
linkColor String

Available on Document, provided by the Document$Typings extension

Sets or gets the color of the document links. @deprecated
getter/setter pair

Available on Document, provided by the Document$Typings extension

Retrieves a collection of all a objects that specify the href property and all area objects in the document.
no setter
location Location

Available on Document, provided by the Document$Typings extension

Contains information about the current URL.
getter/setter pair
onfullscreenchange ↔ dynamic Function(Event)?

Available on Document, provided by the Document$Typings extension

MDN Reference
getter/setter pair
onfullscreenerror ↔ dynamic Function(Event)?

Available on Document, provided by the Document$Typings extension

MDN Reference
getter/setter pair
onpointerlockchange ↔ dynamic Function(Event)?

Available on Document, provided by the Document$Typings extension

MDN Reference
getter/setter pair
onpointerlockerror ↔ dynamic Function(Event)?

Available on Document, provided by the Document$Typings extension

MDN Reference
getter/setter pair
onreadystatechange ↔ dynamic Function(Event)?

Available on Document, provided by the Document$Typings extension

Fires when the state of the object has changed. @param ev The event
getter/setter pair
onvisibilitychange ↔ dynamic Function(Event)?

Available on Document, provided by the Document$Typings extension

MDN Reference
getter/setter pair
open → ({Document Function([String? unused1, String? unused2]) $1, WindowProxy? Function(Object url, String name, String features) $2})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2
no setter
ownerDocument → dynamic

Available on Document, provided by the Document$Typings extension

Returns the node document. Returns null for documents.
no setter
pictureInPictureEnabled bool

Available on Document, provided by the Document$Typings extension

MDN Reference
no setter
plugins HTMLCollectionOf<HTMLEmbedElement>

Available on Document, provided by the Document$Typings extension

Return an HTMLCollection of the embed elements in the Document.
no setter
queryCommandEnabled bool Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
queryCommandIndeterm bool Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
queryCommandState bool Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
queryCommandSupported bool Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
queryCommandValue String Function(String)

Available on Document, provided by the Document$Typings extension

getter/setter pair
readyState DocumentReadyState

Available on Document, provided by the Document$Typings extension

Retrieves a value that indicates the current state of the object.
no setter
referrer String

Available on Document, provided by the Document$Typings extension

Gets the URL of the location that referred the user to the current page.
no setter
releaseEvents ↔ void Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(DocumentEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on Document, provided by the Document$Typings extension

Overload accessor: $1, $2
no setter
requestStorageAccess Future<void> Function()

Available on Document, provided by the Document$Typings extension

getter/setter pair
rootElement SVGSVGElement?

Available on Document, provided by the Document$Typings extension

no setter
scripts HTMLCollectionOf<HTMLScriptElement>

Available on Document, provided by the Document$Typings extension

Retrieves a collection of all script objects in the document.
no setter
scrollingElement Element?

Available on Document, provided by the Document$Typings extension

MDN Reference
no setter
timeline DocumentTimeline

Available on Document, provided by the Document$Typings extension

MDN Reference
no setter
title String

Available on Document, provided by the Document$Typings extension

Contains the title of the document.
getter/setter pair
url String

Available on Document, provided by the Document$Typings extension

Sets or gets the URL for the current document.
no setter
visibilityState DocumentVisibilityState

Available on Document, provided by the Document$Typings extension

MDN Reference
no setter
vlinkColor String

Available on Document, provided by the Document$Typings extension

Sets or gets the color of the links that the user has visited. @deprecated
getter/setter pair
write ↔ void Function([Iterable?])

Available on Document, provided by the Document$Typings extension

getter/setter pair
writeln ↔ void Function([Iterable?])

Available on Document, provided by the Document$Typings extension

getter/setter pair