代码拉取完成,页面将自动刷新
export declare type VirtualChildType<EO> = EO | VirtualChild<EO>;
export interface VirtualChildParam<EO> {
remove(e: EO): void;
append(e: EO, isMove?: boolean): void;
insertBefore(e: EO, old: EO, isMove?: boolean): void;
}
/**虚拟的子层树*/
export declare class VirtualChild<EO> {
private param;
private parent?;
private constructor();
private children;
static deepRun<EO>(view: VirtualChildType<EO>, fun: (view: EO) => void): void;
/**自己的后一个节点 */
private after?;
private pureRemove;
remove(index: number): void;
move(oldIndex: number, newIndex: number): void;
private pureInsert;
private nextEL;
insert(index: number, view: VirtualChildType<EO>): void;
private static preformaceAdd;
private static realNextEO;
private static realParentNext;
static newRootChild<EO>(param: VirtualChildParam<EO>): VirtualChild<EO>;
push(view: VirtualChildType<EO>): void;
newChildAt(index: number): VirtualChild<EO>;
newChildAtLast(): VirtualChild<EO>;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。