UNPKG

@alilc/lowcode-editor-skeleton

Version:

alibaba lowcode editor skeleton

21 lines (19 loc) 510 B
export function isWidgetConfig(obj) { return obj && obj.type === 'Widget'; } export function isDividerConfig(obj) { return obj && obj.type === 'Divider'; } export function isDockConfig(obj) { return obj && /Dock$/.test(obj.type); } // 按钮弹窗扩展 export function isDialogDockConfig(obj) { return obj && obj.type === 'DialogDock'; } export function isPanelConfig(obj) { return obj && obj.type === 'Panel'; } export function isPanelDockConfig(obj) { return obj && obj.type === 'PanelDock'; }