Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextareaField

Hierarchy

  • FieldTextInput
    • TextareaField

Index

Constructors

constructor

  • Parameters

    • text: string

    Returns TextareaField

Properties

Protected borderRect_

borderRect_: SVGElement | null

fieldGroup_

fieldGroup_: SVGElement | null

Protected height_

height_: number

name

name: string

Protected size_

size_: any

sourceBlock_

sourceBlock_: Block

spellcheck_

spellcheck_: boolean

Protected text_

text_: string

Protected tooltip_

tooltip_: string

Protected visible_

visible_: boolean

Protected width_

width_: number

Optional workspace_

workspace_: Workspace

Static FONTSIZE

FONTSIZE: number

Static htmlInput_

htmlInput_: HTMLInputElement

Methods

bindEvents_

  • bindEvents_(input: HTMLInputElement): void
  • Parameters

    • input: HTMLInputElement

    Returns void

dispose

  • dispose(): void
  • Returns void

forceRerender

  • forceRerender(): void
  • Returns void

Protected getDisplayText_

  • getDisplayText_(): string
  • Returns string

getScaledBBox_

  • getScaledBBox_(): any
  • Returns any

getSvgRoot

  • getSvgRoot(): any
  • Returns any

getText

  • getText(): string
  • Returns string

getValue

  • getValue(): string
  • Returns string

onHtmlInputKeyDown_

  • onHtmlInputKeyDown_(e: KeyboardEvent): void
  • Parameters

    • e: KeyboardEvent

    Returns void

Protected render_

  • render_(): void
  • Returns void

resizeEditor_

  • resizeEditor_(): void
  • Returns void

setSourceBlock

  • setSourceBlock(block: Block): void
  • Parameters

    • block: Block

    Returns void

setText

  • setText(v: string): void
  • Parameters

    • v: string

    Returns void

setValue

  • setValue(v: string): void
  • Parameters

    • v: string

    Returns void

showEditor_

  • showEditor_(): void
  • Returns void

Protected updateWidth

  • updateWidth(): void
  • Returns void

validate_

  • validate_(): void
  • Returns void

widgetDispose_

  • widgetDispose_(): Function
  • Returns Function

Static getCachedWidth

  • getCachedWidth(text: SVGElement): number
  • Parameters

    • text: SVGElement

    Returns number

Generated using TypeDoc