Class TurboController<ElementType, ViewType, ModelType, EmitterType>
TurboController
Description
The MVC base controller 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. It can only communicate with other controllers via the emitter
(by firing or listening for changes on a certain key).
The key of the controller. Used to retrieve it in the main component. If not set, if the element's
class name is MyElement and the controller's class name is MyElementSomethingController, the key would
default to "something".
TurboController
Description
The MVC base controller 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. It can only communicate with other controllers via the emitter (by firing or listening for changes on a certain key).