FieldLabel class
Class for a non-editable, non-serializable text field.
Signature:
export declare class FieldLabel extends Field<string>
Extends: Field<string>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(value, textClass, config) | Constructs a new instance of the FieldLabel class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
EDITABLE | boolean | Editable fields usually show some sort of UI indicating they are editable. This field should not. | |
maxDisplayLength | number | Text labels should not truncate. |
Methods
Method | Modifiers | Description |
---|---|---|
configure_(config) | protected |
|
doClassValidation_(newValue) | protected |
Ensure that the input value casts to a valid string. |
initView() | Create block UI for this label. | |
setClass(cssClass) | Set the CSS class applied to the field's textElement_. |