import { InterfaceHelperPlugin , TypeHelperPluginEventDetail , TypeHelperPluginEventResult , } from '@idraw/types' ; import util from '@idraw/util' ; export class HelperPlugin implements Required < InterfaceHelperPlugin > { readonly name : string = 'helper-plugin' ; readonly uuid : string ; constructor ( ) { this . uuid = util . uuid . createUUID ( ) ; } onHover ( detail ) { if ( detail . controller === null ) { } } onPoint ( detail ) { } onClick ( detail ) { } onMoveStart ( detail ) { } onMove ( detail ) { } onMoveEnd ( detail ) { } }