Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace for the jQuery keyfilter plugin.

KeyFilter is used to filter keyboard input on specified input components.

Index

Type Aliases

TestFunction: ((this: JQuery, character: string) => boolean)

Type declaration

    • (this: JQuery, character: string): boolean
    • A test function that checks whether a newly entered characters is allowed or should be blocked. The this context is set to the DOM element for the target input field.

      Parameters

      • this: JQuery
      • character: string

        A newly entered character to check.

      Returns boolean

      true to allow the entered character, or false to block it.

Generated using TypeDoc