代码拉取完成,页面将自动刷新
import { VirtualChild, VirtualChildParam } from "./virtualTreeChildren";
import { BuildResult, mve } from "./util";
/**重复的函数节点/组件封装成mve*/
export interface EOChild<EO> {
(parent: VirtualChild<EO>, me: mve.LifeModel): BuildResult;
}
export declare function refreshInit(result?: BuildResult): BuildResult;
export interface FragmentNode<EO> {
init?: BuildResult;
children: EOChild<EO>[];
}
/**
* 片段自定义组件
* @param config
* @param children
* @returns
*/
export declare function fragment<EO>(p: FragmentNode<EO>): EOChild<EO>;
export interface OriginalNode<EO> {
init?: BuildResult;
children: EO[];
}
/**
* 原生组件
* @param config
* @param children
*/
export declare function original<EO>(p: OriginalNode<EO>): EOChild<EO>;
export declare function baseChildrenBuilder<EO>(me: mve.LifeModel, children: EOChild<EO>, parent: VirtualChild<EO>): BuildResult;
export declare function childrenBuilder<EO>(me: mve.LifeModel, x: VirtualChildParam<EO>, children: EOChild<EO>[]): BuildResult;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。