snowy-designer
Version:
基于Epic-Designer-Pro版本的设计器,可视化开发页面表单
13 lines (12 loc) • 443 B
TypeScript
import { ComponentInternalInstance } from 'vue';
import { ComponentSchema } from './epic-pro';
export interface ExtendedExposed {
getAttr?: (key: string) => any;
getValue?: () => any;
schema?: ComponentSchema;
setAttr?: (key: string, value: any) => any;
setValue?: (value: any) => void;
}
export type EpicNodeInstance = ComponentInternalInstance & {
exposed?: ComponentInternalInstance['exposed'] & ExtendedExposed;
};