Skip to content

@serenity-is/sleekgrid / TextEditor

Class: TextEditor

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new TextEditor(args)

Parameters

Name Type
args EditorOptions

Inherited from

BaseEditor.constructor

Defined in

editors/editors.ts:8

Properties

_args

• Protected _args: EditorOptions

Inherited from

BaseEditor._args

Defined in

editors/editors.ts:6


_defaultValue

• Protected _defaultValue: any

Inherited from

BaseEditor._defaultValue

Defined in

editors/editors.ts:5


_input

• _input: HTMLInputElement

Overrides

BaseEditor._input

Defined in

editors/editors.ts:69

Methods

applyValue

▸ applyValue(item, state): void

Parameters

Name Type
item any
state any

Returns

void

Inherited from

BaseEditor.applyValue

Defined in

editors/editors.ts:44


destroy

▸ destroy(): void

Returns

void

Inherited from

BaseEditor.destroy

Defined in

editors/editors.ts:15


focus

▸ focus(): void

Returns

void

Inherited from

BaseEditor.focus

Defined in

editors/editors.ts:19


getValue

▸ getValue(): string

Returns

string

Inherited from

BaseEditor.getValue

Defined in

editors/editors.ts:23


init

▸ init(): void

Returns

void

Overrides

BaseEditor.init

Defined in

editors/editors.ts:71


isValueChanged

▸ isValueChanged(): boolean

Returns

boolean

Inherited from

BaseEditor.isValueChanged

Defined in

editors/editors.ts:48


loadValue

▸ loadValue(item): void

Parameters

Name Type
item any

Returns

void

Inherited from

BaseEditor.loadValue

Defined in

editors/editors.ts:31


serializeValue

▸ serializeValue(): any

Returns

any

Inherited from

BaseEditor.serializeValue

Defined in

editors/editors.ts:40


setValue

▸ setValue(val): void

Parameters

Name Type
val string

Returns

void

Inherited from

BaseEditor.setValue

Defined in

editors/editors.ts:27


validate

▸ validate(): ValidationResult

Returns

ValidationResult

Inherited from

BaseEditor.validate

Defined in

editors/editors.ts:52