schema extensions
This commit is contained in:
@@ -21,6 +21,11 @@ export class ZeroEditorCanvasBase
|
||||
this.fields.push(proxy);
|
||||
return proxy;
|
||||
}
|
||||
|
||||
getField(path: string): ZeroEditorField | undefined
|
||||
{
|
||||
return this.fields.find(x => x.path == path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -55,6 +60,11 @@ export class ZeroEditorCanvas extends ZeroEditorCanvasBaseWithFieldset
|
||||
this.tabs.push(tab);
|
||||
return tab;
|
||||
}
|
||||
|
||||
getTab(alias: string): ZeroEditorTab | undefined
|
||||
{
|
||||
return this.tabs.find(x => x.alias == alias);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user