Interface OperationPluginView
interface OperationPluginView { addEventListener( type: string, callback: (event: any) => any, useCapture?: boolean, ): void; removeEventListener( type: string, callback: (event: any) => any, useCapture?: boolean, ): void;} Methods
addEventListener
- addEventListener(
type: string,
callback: (event: any) => any,
useCapture?: boolean,
): void Parameters
- type: string
- callback: (event: any) => any
Optional
useCapture: boolean
Returns void
removeEventListener
- removeEventListener(
type: string,
callback: (event: any) => any,
useCapture?: boolean,
): void Parameters
- type: string
- callback: (event: any) => any
Optional
useCapture: boolean
Returns void
操作プラグインが参照する、抽象化されたview。
各操作プラグインは、この値に加えたevent listenerを元にoperationTriggerをfireしてよい。