Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DocumentOrShadowRoot

Hierarchy

Index

Properties

activeElement: null | Element
fullscreenElement: null | Element

Returns document's fullscreen element.

pointerLockElement: null | Element
styleSheets: StyleSheetList

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

Methods

  • caretPositionFromPoint(x: number, y: number): null | CaretPosition
  • Parameters

    • x: number
    • y: number

    Returns null | CaretPosition

  • caretRangeFromPoint(x: number, y: number): Range
  • deprecated

    Parameters

    • x: number
    • y: number

    Returns Range

  • elementFromPoint(x: number, y: number): null | Element
  • Parameters

    • x: number
    • y: number

    Returns null | Element

  • elementsFromPoint(x: number, y: number): Element[]
  • Parameters

    • x: number
    • y: number

    Returns Element[]

  • Returns null | Selection

Generated using TypeDoc