Interaction

Type module

Sources

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

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

Variables

interaction
#

Type Interaction | null

Default null

Functions

getInteraction()

#

Returns Interaction

Returns a single unified global instance of Interaction.

All code should use this function, rather than create their own instances of Interaction.