import { IComponentPropEntity } from '../../../../models/base'; /** 事件编辑项的属性Keys */ export const EventPropKeys = { /** 事件列表 */ events: 'events' }; export const EventPropEntity: IComponentPropEntity = { key: EventPropKeys.events, name: '事件列表', editorOption: { key: 'EventListEditor', hooks: `{ setData:function(editorOption){ htmlUIEditor2.eventBus.emit('onEventEditorCallHook', { hookName:'setEventList', editorOption:editorOption }); }, onEditEvents:function(editorOption){ } }` //window.eventBus.emit('onEventEditorCallHook', { hookName:'setEventList', editorValue:{ editorOption } }); } }; export const EventPropEntities: IComponentPropEntity[] = [EventPropEntity];