The element's MVC model type.
The key type of the MVC's model.
The element's MVC model type.
The key type of the MVC's model.
Optionalmodel: ModelTypeFunctionaddKey
The callback to register.
Ordered path from outermost to innermost key.
FunctionremoveKey
Optionalcallback: (value: any, ...keys: DataKeyType[]) => voidThe callback to remove. If omitted, all callbacks for this path are removed.
Ordered path from outermost to innermost key.
FunctionfireKey
The new value at the key path.
Ordered path from outermost to innermost key.
ProtectedresolveProtected FunctionresolveFlatKey
The key path to flatten.
TurboEmitter
Description
The base MVC emitter class. Its role is basically an event bus. It allows the different parts of the MVC structure to fire events or listen to some, with various methods.