@serenity-is/sleekgrid / TextEditor
Class: TextEditor
Hierarchy
BaseEditor
↳
TextEditor
↳↳
FloatEditor
↳↳
DateEditor
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new TextEditor(args
)
Parameters
Name | Type |
---|---|
args |
EditorOptions |
Inherited from
BaseEditor.constructor
Defined in
Properties
_args
• Protected
_args: EditorOptions
Inherited from
BaseEditor._args
Defined in
_defaultValue
• Protected
_defaultValue: any
Inherited from
BaseEditor._defaultValue
Defined in
_input
• _input: HTMLInputElement
Overrides
BaseEditor._input
Defined in
Methods
applyValue
▸ applyValue(item
, state
): void
Parameters
Name | Type |
---|---|
item |
any |
state |
any |
Returns
void
Inherited from
BaseEditor.applyValue
Defined in
destroy
▸ destroy(): void
Returns
void
Inherited from
BaseEditor.destroy
Defined in
focus
▸ focus(): void
Returns
void
Inherited from
BaseEditor.focus
Defined in
getValue
▸ getValue(): string
Returns
string
Inherited from
BaseEditor.getValue
Defined in
init
▸ init(): void
Returns
void
Overrides
BaseEditor.init
Defined in
isValueChanged
▸ isValueChanged(): boolean
Returns
boolean
Inherited from
BaseEditor.isValueChanged
Defined in
loadValue
▸ loadValue(item
): void
Parameters
Name | Type |
---|---|
item |
any |
Returns
void
Inherited from
BaseEditor.loadValue
Defined in
serializeValue
▸ serializeValue(): any
Returns
any
Inherited from
BaseEditor.serializeValue
Defined in
setValue
▸ setValue(val
): void
Parameters
Name | Type |
---|---|
val |
string |
Returns
void
Inherited from
BaseEditor.setValue
Defined in
validate
▸ validate(): ValidationResult
Returns
Inherited from
BaseEditor.validate