8.6 Released with 🥽 visionOS support and more!
Check it out
Builder

Summary

Constructors

constructor

new Builder(): Builder
Returns Builder

Properties

knownCollections

Static
knownCollections: Set<string>

knownMultiTemplates

Static
knownMultiTemplates: Set<string>

knownTemplates

Static
knownTemplates: Set<string>
UI plugin developers can add to these to define their own custom types if needed

Methods

createViewFromEntry

Static
createViewFromEntry(entry: NavigationEntry): View
Creates view from navigation entry
Parameter Default Description
entry

NavigationEntry

Returns View

load

Static
load(moduleName: string, exports?: any): View
Loads component from module with context
Parameter Default Description
moduleName
string

the module name

exports
any

the context of the component to be loaded

Returns View
load(options: LoadOptions): View
Loads component from options
Parameter Default Description
options

Load options

Returns View

parse

Static
parse(value: string | Template, exports?: any): View
Parameter Default Description
value
string | Template

exports
any

Returns View

parseMultipleTemplates

Static
parseMultipleTemplates(value: string, exports?: any): KeyedTemplate[]
Creates an array of KeyedTemplates from string
Parameter Default Description
value
string

The xml of the template to be parsed

exports
any

Current context of the template

Returns KeyedTemplate[]
Previous
Binding
Next
Button