Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

elementAbsolutePosition

  • elementAbsolutePosition(element: HTMLElement): object
  • Goes through an elements hierarchy to find its absolute position on the page.

    Parameters

    • element: HTMLElement

      Element to get the position of.

    Returns object

    • left: number
    • top: number

elementPositionInContainer

  • elementPositionInContainer(element: HTMLElement | null, container: HTMLElement): object
  • Goes through an elements hierarchy to find its position relative to its container.

    Parameters

    • element: HTMLElement | null

      Element to get the position of.

    • container: HTMLElement

      The container to get the position relative to.

    Returns object

    • left: number
    • top: number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc