Skip to content

Scripting API / dashboard/DashboardListener

dashboard/DashboardListener

Modules

Module Description
External -

Classes

DashboardListener

Extends

Methods

addEventListener()

addEventListener(eventType, handler): ScriptEventSubscription

Binds the given function to an event fired by one or more sub-inspections. Returns a GUID that can be used to remove the added event

Parameters
Parameter Type Description
eventType DashboardEventType Type of event to bind to (e.g. 'afterStart'). Valid types are determined by the EventType generic.
handler EventHandler<any> -
Returns

ScriptEventSubscription

Inherited from

GSEventListener.addEventListener

Type Aliases

DashboardEventOptions

DashboardEventOptions = any