rad-gui
    Preparing search index...

    TextControl Controller for string values with a text input interface Provides a text input field for editing string values

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _changed: boolean = false

    Whether the value has changed since the last finishChange event

    _disabled: boolean = false

    Whether the controller is disabled

    _hidden: boolean = false

    Whether the controller is hidden

    _listenCallbackID: any

    ID of the animation frame when listening for changes

    _listening: boolean = false

    Whether the controller is actively listening for external changes

    _listenPrevValue: any

    Previous value when listening for changes

    _name: any

    Name of the controller (typically matches the property name)

    _onChange: any

    Callback for when the value changes

    _onFinishChange: any

    Callback for when value changes are completed

    $elForDisable: any

    DOM element that will be disabled when controller is disabled

    $input: HTMLInputElement

    The text input element

    $name: HTMLDivElement

    DOM element for displaying the property name

    $widget: HTMLDivElement

    DOM element containing the control widget

    domElement: HTMLElement

    Main DOM element for this controller

    initialValue: any

    Initial value of the controlled property

    object: any

    Object containing the property to control

    parent: any

    Parent GUI instance

    property: any

    Property name being controlled

    nextNameID: any

    Used for generating unique IDs

    Methods

    • Replaces this controller with an options controller

      Parameters

      • options: any

        Option values for the new controller

      Returns any

      The new options controller