Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace for the jQuery keypad plugin.

This plugin attaches a popup keyboard to a text field for mouse-driven entry or adds an inline keypad in a division or span.

See http://keith-wood.name/keypad.html and https://github.com/kbwood/keypad

Index

Type aliases

BeforeShowListener

BeforeShowListener: (this: HTMLInputElement | HTMLTextAreaElement, division: JQuery, instance: KeypadInstance) => void

A function that is called after the keypad is constructed but before it is displayed.

Type declaration

    • Parameters

      • this: HTMLInputElement | HTMLTextAreaElement
      • division: JQuery

        The division to be displayed

      • instance: KeypadInstance

        The current keypad instance controlling the keyboard.

      Returns void

CloseListener

CloseListener: (this: HTMLInputElement | HTMLTextAreaElement, inputFieldValue: string, instance: KeypadInstance) => void

A function that is called when the keypad is closed.

Type declaration

    • (this: HTMLInputElement | HTMLTextAreaElement, inputFieldValue: string, instance: KeypadInstance): void
    • Parameters

      • this: HTMLInputElement | HTMLTextAreaElement
      • inputFieldValue: string

        The current value of the input field.

      • instance: KeypadInstance

        The current keypad instance controlling the keyboard.

      Returns void

KeypressListener

KeypressListener: (this: HTMLInputElement | HTMLTextAreaElement, currentKey: string, inputFieldValue: string, instance: KeypadInstance) => void

A function that is called when a key is pressed on the keypad.

Type declaration

    • (this: HTMLInputElement | HTMLTextAreaElement, currentKey: string, inputFieldValue: string, instance: KeypadInstance): void
    • Parameters

      • this: HTMLInputElement | HTMLTextAreaElement
      • currentKey: string

        The value of they key that was pressed.

      • inputFieldValue: string

        The current value of the input field.

      • instance: KeypadInstance

        The current keypad instance controlling the keyboard.

      Returns void

Generated using TypeDoc