Components is a family of APIs for describing new DOM elements that are suitable for reuse. Module
ember-flexberry includes a large variety of components for different types of tasks.
A core feature of ember-flexberry
For ease of development and maintenance, the overall logic of the components were made in base component (
flexberry-base-component). Almost all of the components module
ember-flexberry inherit from it.
The list of properties of the base component
||Flag: specifies whether the component is read-only.||false|
||Flag: specifies whether component.||false|
||Defines a unique name for the component.|
||Determines the dynamic properties of the component||null|
||Specifies the model to which the value of the current component.||null|
||Determines path to the component settings in the application configuration.||‘APP.components.flexberryBaseComponent’|
||Defines the application configuration||null|
||single object component settings from the application configuration||null|
||Determines the current controller.||null|
The use of the base component
The base component is not a control and cannot be defined in templates. It is only used as a “Parent” for other components.
It is recommended to inherit from the base component in the following cases:
- When you create an embedded component (can be defined inside cells lists using
- The need for a controller of the form inside the component.
In other cases, use the base component as a “Parent” or not depends on the specific situation.
The list of components available in ember-flexberry
- Components for operation and data display
- List of objects:
- Text field:
- Artisan field:
- Logichnogo fields:
- Components of information visualization:
- Control components: