Represents a view control for displaying text values.

Hierarchy

  • UpTextVMainControl
    • Text

Accessors

Methods

Accessors

  • get displayValue(): string
  • Returns the value displayed to the user. It's not always the value which was saved.

    Therefor use getValue.

    Returns string

    Example

    // Get display value
    ix.api.dom.getControl("<ELEMENT-GUID>").displayValue;

Methods

  • Retrieve the current value of the control.

    Returns string

    Example

    // Get value of control
    ix.api.dom.getControl("<ELEMENT-GUID>").getValue();
  • Set value of the control. No validation or formation done!

    Parameters

    • value: string
    • Optional settings: {
          asHtml?: boolean;
      }
      • Optional asHtml?: boolean

    Returns void

    Example

    // Set value for text controls
    ix.api.dom.getControl("<ELEMENT-GUID>").setValue("INTREXX!");