Class TurboOperator<ElementType, ViewType, ModelType, EmitterType>
TurboOperator
Description
The MVC base operator class. Its main job is to handle some part of (or all of) the logic of the
component. It has access to the element, the model to read and write data, the view to update the UI, and the
emitter to listen for changes in the model or any other internal events. It can only communicate with other
operators via the emitter (by firing or listening for changes on a certain key).
The key of the operator. Used to retrieve it in the main component. If not set, if the element's
class name is MyElement and the operator's class name is MyElementSomethingOperator, the key would
default to "something".
TurboOperator
Description
The MVC base operator class. Its main job is to handle some part of (or all of) the logic of the component. It has access to the element, the model to read and write data, the view to update the UI, and the emitter to listen for changes in the model or any other internal events. It can only communicate with other operators via the emitter (by firing or listening for changes on a certain key).