grid-pro.gridpro.addeventlistener
Home > @genesislcap/grid-pro > GridPro > addEventListener
GridPro.addEventListener() method
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