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.

Settings

TemplateStates does not have any settings.

Private settings

TemplateStates does not have any private settings.

Properties

TemplateStates does not have any properties.

Methods

constructor(

template: Template

)

#

Returns TemplateStates

create(

name: string,
settings: Partial

)

#

Returns TemplateState

Creates the state called name with settings, or adds settings to it if it already exists.

lookup(

name: string

)

#

Returns TemplateState | undefined

Returns the state called name, or undefined if there is none.

remove(

name: string

)

#

Returns void

Removes the state called name.

Events

TemplateStates does not have any events.