Home > @zero-dim/designer > createDragBoxTemplate
createDragBoxTemplate() function
创建AlDragBox
Signature:
typescript
export declare function createDragBoxTemplate(schema?: Schema, props?: Record<string, any>): {
type: string;
id: string;
props: Record<string, any> | undefined;
children: Schema[];
};
Parameters
Parameter | Type | Description |
---|---|---|
schema | Schema | (Optional) |
props | Record<string, any> | (Optional) |
{ type: string; id: string; props: Record<string, any> | undefined; children: Schema[]; }