Skip to main content

ResizeSensor

Index

Constructors

constructor

Properties

callback

callback: () => void

Type declaration

    • (): void
    • Returns void

currentHeight

currentHeight: number

currentWidth

currentWidth: number

element

element: HTMLElement

expand

expand: HTMLElement

shrink

shrink: HTMLElement

Methods

destroy

  • destroy(): void
  • Returns void

onScroll

  • onScroll(): void
  • Returns void

setScroll

  • setScroll(): void
  • Returns void