Classes
Builder
Defined in: ui/builder/index.ts
Constructors
Constructor
new Builder(): Builder;Returns
Builder
Properties
knownCollections
static knownCollections: Set<string>;Defined in: ui/builder/index.ts
knownMultiTemplates
static knownMultiTemplates: Set<string>;Defined in: ui/builder/index.ts
knownTemplates
static knownTemplates: Set<string>;Defined in: ui/builder/index.ts
UI plugin developers can add to these to define their own custom types if needed
Methods
createViewFromEntry()
static createViewFromEntry(entry: ViewEntry): View;Defined in: ui/builder/index.ts
Creates view from navigation entry
Parameters
| Parameter | Type | Description |
|---|---|---|
entry | ViewEntry | NavigationEntry |
Returns
load()
static load(pathOrOptions: string | LoadOptions, context?: any): View;Defined in: ui/builder/index.ts
Loads component from module with context
Parameters
| Parameter | Type |
|---|---|
pathOrOptions | string | LoadOptions |
context? | any |
Returns
parse()
static parse(value: string | Template, context?: any): View;Defined in: ui/builder/index.ts
Parameters
| Parameter | Type |
|---|---|
value | string | Template |
context? | any |
Returns
parseMultipleTemplates()
static parseMultipleTemplates(value: string, context: any): KeyedTemplate[];Defined in: ui/builder/index.ts
Creates an array of KeyedTemplates from string
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The xml of the template to be parsed |
context | any | - |