Documentation / @finchart/core / PlotEventSource
Interface: PlotEventSource
Defined in: packages/core/src/plot/capabilities.ts:69
무대의 이벤트를 들을 수 있다.
이름이 EventSource가 아닌 이유는 그것이 DOM의 전역 타입이라서다 — lib.dom을 켠 소비자에게 이름이 겹치면 자동 임포트가 엉뚱한 것을 집는다.
소비자: crosshair · legend · tooltip · syncX
Methods
on()
on<
E>(event,handler): () =>void
Defined in: packages/core/src/plot/capabilities.ts:70
Type Parameters
E
E extends keyof PlotEvents
Parameters
event
E
handler
(payload) => void
Returns
() => void