grid-pro.gridprobeta.addeventlistener
Home > @genesislcap/grid-pro > GridProBeta > addEventListener
GridProBeta.addEventListener() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Adds an event listener to the grid element.
Signature:
addEventListener(eventType: string, listener: any, options?: boolean | AddEventListenerOptions): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
string |
The event type to listen for. Recommened to use the |
|
listener |
any |
The event listener to call when the event is fired. |
|
options |
boolean | AddEventListenerOptions |
(Optional) An options object that specifies characteristics about the event listener. |
Returns:
void