9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Defined in: ui/builder/index.ts

Constructors

Constructor

ts
new Builder(): Builder;

Returns

Builder

Properties

knownCollections

ts
static knownCollections: Set<string>;

Defined in: ui/builder/index.ts


knownMultiTemplates

ts
static knownMultiTemplates: Set<string>;

Defined in: ui/builder/index.ts


knownTemplates

ts
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()

ts
static createViewFromEntry(entry: ViewEntry): View;

Defined in: ui/builder/index.ts

Creates view from navigation entry

Parameters

ParameterTypeDescription
entryViewEntryNavigationEntry

Returns

View


load()

ts
static load(pathOrOptions: string | LoadOptions, context?: any): View;

Defined in: ui/builder/index.ts

Loads component from module with context

Parameters

ParameterType
pathOrOptionsstring | LoadOptions
context?any

Returns

View


parse()

ts
static parse(value: string | Template, context?: any): View;

Defined in: ui/builder/index.ts

Parameters

ParameterType
valuestring | Template
context?any

Returns

View


parseMultipleTemplates()

ts
static parseMultipleTemplates(value: string, context: any): KeyedTemplate[];

Defined in: ui/builder/index.ts

Creates an array of KeyedTemplates from string

Parameters

ParameterTypeDescription
valuestringThe xml of the template to be parsed
contextany-

Returns

KeyedTemplate[]

Previous
Binding
Next
Button