Home > @visualization-tools/core > OnPlotRequiresUpdate > registerListener
Signature:
static registerListener(eventService: IEventService, onEvent: (plot: IReadonlyPlot<IPlotRange, unknown>, updateFlag: EEntityUpdateFlag) => void): () => void;
| Parameter | Type | Description |
|---|---|---|
| eventService | IEventService | |
| onEvent | (plot: IReadonlyPlot<IPlotRange, unknown>, updateFlag: EEntityUpdateFlag) => void |
Returns:
() => void