DocumentOrShadowRoot class

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

DocumentOrShadowRoot.new({Element? activeElement, List<CSSStyleSheet>? adoptedStyleSheets, Element? fullscreenElement, Element? pictureInPictureElement, Element? pointerLockElement, StyleSheetList? styleSheets, Element? elementFromPoint(num, num)?, List<Element> elementsFromPoint(num, num)?, List<Animation> getAnimations()?})
factory

Properties

activeElement Element?

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

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.
no setter
adoptedStyleSheets List<CSSStyleSheet>

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

MDN Reference
getter/setter pair
elementFromPoint Element? Function(num, num)

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

getter/setter pair
elementsFromPoint List<Element> Function(num, num)

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

getter/setter pair
fullscreenElement Element?

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

Returns document's fullscreen element.
no setter
getAnimations List<Animation> Function()

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pictureInPictureElement Element?

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

MDN Reference
no setter
pointerLockElement Element?

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

MDN Reference
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleSheets StyleSheetList

Available on DocumentOrShadowRoot, provided by the DocumentOrShadowRoot$Typings extension

Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited