typograph-editor-documentation
    Preparing search index...

    Class Inputfield

    Input field for text or number input

    constructor options:

    type:string

    id:string

    width:number size of input field default is 40

    min:number minimum value default is 0

    max:value maximum value default is 100

    inputmethod:string type of event 'change' or 'input' default is 'chance'

    input_type:string type field

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • type: string
      • id: string
      • width: number = 40
      • min: number = 0
      • max: number = 100
      • unit: string
      • inputmethod: string = 'change'
      • input_type: string = 'number'
      • title: string = null

      Returns Inputfield

    Properties

    active: boolean
    call_input_event: callbackwithInputEvent
    id: string
    input_type: string = 'number'
    inputfield: HTMLInputElement
    inputmethod: string = 'change'
    max: number = 100
    min: number = 0
    title: string = null
    type: string
    unit: string
    width: number = 40

    Methods

    • Parameters

      • call: callbackwithInputEvent

      Returns void