Class Text

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(args: EditorOptions): Text

Parameters

Returns

Text

Methods

public applyValue(item: any, state: string)

Parameters

  • item: any
  • state: string

public applyValue(item: any, state: string)

Parameters

  • item: any
  • state: string

public destroy()

public destroy()

public focus()

public focus()

public getValue(): string

Returns

string

public init()

public init()

public isValueChanged(): boolean

Returns

boolean

public isValueChanged(): boolean

Returns

boolean

public loadValue(item: any)

Parameters

  • item: any

public loadValue(item: any)

Parameters

  • item: any

public serializeValue(): string

Returns

string

public setValue(val: string)

Parameters

  • val: string

public validate(): ValidateResults

Returns

ValidateResults

public validate(): ValidateResults

Returns

ValidateResults