Skip to content

@serenity-is/sleekgrid / LongTextEditor

Class: LongTextEditor

Hierarchy

  • BaseEditor

    LongTextEditor

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LongTextEditor(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


_container

Protected _container: HTMLElement

Defined in

editors/editors.ts:349


_defaultValue

Protected _defaultValue: any

Inherited from

BaseEditor._defaultValue

Defined in

editors/editors.ts:5


_input

_input: HTMLTextAreaElement

Overrides

BaseEditor._input

Defined in

editors/editors.ts:348


_wrapper

Protected _wrapper: HTMLDivElement

Defined in

editors/editors.ts:350

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


cancel

cancel(): void

Returns

void

Defined in

editors/editors.ts:407


destroy

destroy(): void

Returns

void

Overrides

BaseEditor.destroy

Defined in

editors/editors.ts:425


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


handleKeyDown

handleKeyDown(e): void

Parameters

Name Type
e KeyboardEvent

Returns

void

Defined in

editors/editors.ts:377


hide

hide(): void

Returns

void

Defined in

editors/editors.ts:412


init

init(): void

Returns

void

Overrides

BaseEditor.init

Defined in

editors/editors.ts:352


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


position

position(position): void

Parameters

Name Type
position Position

Returns

void

Defined in

editors/editors.ts:420


save

save(): void

Returns

void

Defined in

editors/editors.ts:403


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


show

show(): void

Returns

void

Defined in

editors/editors.ts:416


validate

validate(): ValidationResult

Returns

ValidationResult

Inherited from

BaseEditor.validate

Defined in

editors/editors.ts:52