Perseus
Preparing search index...
@khanacademy/perseus
<internal>
InteractionTracker
Class InteractionTracker<T>
Wrapper for the trackInteraction apiOption.
Type Parameters
T
Index
Constructors
constructor
Properties
_
tracked
setting
track
track
Api
widget
ID
widget
Type
Constructors
constructor
new
InteractionTracker
<
T
>
(
trackApi
:
(
(
args
:
TrackInteractionArgs
)
=>
void
)
|
undefined
,
widgetType
:
string
,
widgetID
:
string
,
setting
:
Tracking
,
)
:
InteractionTracker
<
T
>
Type Parameters
T
Parameters
trackApi
: (
(
args
:
TrackInteractionArgs
)
=>
void
)
|
undefined
widgetType
:
string
widgetID
:
string
setting
:
Tracking
Returns
InteractionTracker
<
T
>
Properties
_
tracked
_tracked
:
boolean
setting
setting
:
Tracking
track
track
:
(
extraData
?:
T
)
=>
void
track
Api
trackApi
:
any
widget
ID
widgetID
:
string
widget
Type
widgetType
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
tracked
setting
track
track
Api
widget
ID
widget
Type
Perseus
Loading...
Wrapper for the trackInteraction apiOption.