simple-canvas-library
    Preparing search index...

    Class NumberInput

    Number input UI component

    Hierarchy

    • UIComponent
      • NumberInput
    Index

    Constructors

    Properties

    element: HTMLElement
    isEnabled: boolean = true
    isVisible: boolean = true

    Methods

    • Disable the input

      Returns this

    • Enable the input

      Returns this

    • Get the underlying DOM element

      Returns HTMLElement

    • Check if the component is enabled

      Returns boolean

    • Check if the component is visible

      Returns boolean

    • Hide the component

      Returns this

    • Update the label text

      Parameters

      • label: string

      Returns this

    • Set the value

      Parameters

      • value: number

      Returns this

    • Show the component

      Returns this