ResizeSensor

Type module

Sources

Items from ResizeSensor can be imported/included and used via following ways.

/**
 * --------------------------------------------------------
 * Import via: ResizeSensor.ts
 * Access items like: $resizesensor.myVariable
 *                    $resizesensor.myFunction()
 * --------------------------------------------------------
 */
import * as $resizesensor from "@amcharts/amcharts4/ResizeSensor";

Variables

observer
#

Type Sensor | null

Default null

ResizeObserver
#

Type any

Functions

makeSensor()

#

Returns Sensor