This defines control type and its properties when creating UI using UIBuilder.buildLayout method. All other control definitions extend this definition. All control definitions must be written as plain JavaScript objects. For example:
Service.UIBuilder.buildLayout({type: 'Label', text: 'Name', helpText: 'Name of something.'}, container, fields);
Object defining html attributes for controls root element.
Callback that will be called when control is clicked.
Object defining css styles for controls root element.
If true control will be enabled if false control will be disabled (inactive).
Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.
If true this control definition will be ignored and control will not be initiated.
Callback that will be called when control is initialised.
Style class to add on root element of the control.
Control type, tells what kind of control this is.
Set initial visibility of control. (default: true)
This defines control type and its properties when creating UI using UIBuilder.buildLayout method. All other control definitions extend this definition. All control definitions must be written as plain JavaScript objects. For example:
Service.UIBuilder.buildLayout({type: 'Label', text: 'Name', helpText: 'Name of something.'}, container, fields);