The type of the element.
The element's view type, if any.
The element's model type, if any.
The element's emitter type, if any.
The type of the element.
The element's view type, if any.
The element's model type, if any.
The element's emitter type, if any.
ReadonlysubstrateReadonlysolversReadonlycheckersReadonlymutatorsThe list of objects constrained by the substrate. Retrieving it will return a shallow copy as a Set. Use addObject and removeObject to manipulate the list.
ProtectedsetupProtectedsetupProtectedsetupFunctiongetObjectData
The object to query.
FunctionsetObjectData
The object to update.
Optionaldata: Record<string, any>The new data object to associate with this object.
FunctionaddChecker
Configuration object, including the
checker callback to be executed, the name of the checker to access it later, the name of the attached
substrate, and the priority of the checker.
Functioncheck
Optionalproperties: SubstrateCallbackPropertiesContext passed to each checker.
FunctionaddMutator
Configuration object, including the
mutator callback to be executed, the name of the mutator to access it later, and the priority of the mutator.
Functionmutate
The type of the value to mutate
Optionalproperties: SubstrateMutatorProperties<Type>Context object, including the
mutation to execute, and the input value to mutate.
FunctionaddSolver
Configuration object, including the
solver callback to be executed, the name of the solver to access it later, and the priority of the solver.
FunctionsolveSubstrate
Optionalproperties: SubstrateCallbackProperties = {}Options object to configure the context.
TurboSubstrate
Description
Class representing a substrate in MVC, bound to the provided element.