2.0.1 • Published 7 years ago
tm.components.componentbase v2.0.1
tm.components.componentbase
Versions:
1.0.0: Initial version 1.0.1: Fixed naming mistake 1.0.2: Appended container
Includes:
Base class for future components
Not yet included:
a shared Iconfig all components could use
Dependencies:
- jQuery 1.11+
Usage:
Extend your new component class with the componentBase class.
class TmSelectbox extends ComponentBase
It expects a config file for your specific component. Alt + insert on your class and implement members. Because I wasn't too sure about shared config properties, there is no check on this interface yet.
Use initializeSpecific as a constructor for your own component.
The componentbase class holds your components. You have the option to register them and or get the instance. The returned objects are all typed.