TemplateStates
Type class
The states of a Template, by name.
Sources
This information about TemplateStates is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
TemplateStates does not extend any other symbol.
TemplateStates is not extended by any other symbol.
Properties
TemplateStates does not have any properties.
Methods
constructor(template:Template)Returns
TemplateStatescreate(name:string,
settings:Partial)Returns
TemplateStateCreates the state called
namewithsettings, or addssettingsto it if it already exists.lookup(name:string)Returns
TemplateState|undefinedReturns the state called
name, orundefinedif there is none.remove(name:string)Returns
voidRemoves the state called
name.
Events
TemplateStates does not have any events.