Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

getSize

  • getSize(element: HTMLElement): { height: number; width: number }
  • Returns the outer size of an html element in pixels

    Parameters

    • element: HTMLElement

    Returns { height: number; width: number }

    • height: number
    • width: number

Generated using TypeDoc