Initializes a new ToggleableModel.
ToggleableModel
Private basemodelThe base model that the toggleable model is based on.
ToggleableModel
Private modelsThe collections of models that can be toggled.
ToggleableModel
Creates a new model based on the base model with the specified categories.
The categories to include in the model.
The name of the new model.
ToggleableModel
Gets the model for a specific category.
The category of the model.
ToggleableModel
Sets the base model for the toggleable model.
The base model.
ToggleableModel
Sets the model for a specific category.
The category of the model.
The model to set.
ToggleableModel
Generated using TypeDoc
A model that can be toggled between different states.
ToggleableModel