Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • TElement = HTMLElement

Hierarchy

  • KeyfilterNamespace

Callable

  • Enables the key filter on the current input filter. Only text that matches the given regular expression is allowed in the input field.

    Parameters

    • regExp: RegExp

      Regular expression the value of the input field needs to match.

    Returns JQuery<TElement>

    this jQuery instance for chaining.

  • Enables the key filter on the current input filter. An entered character needs to match the given test function to be allowed. If it does not match, the character is blocked and the entered character is discarded.

    Parameters

    • testFunction: TestFunction

      A function that tests whether an entered character is allowed.

    Returns JQuery<TElement>

    this jQuery instance for chaining.

Index

Properties

Properties

Default, global configuration for the key filter.

version: number

The version of this plugin.

Generated using TypeDoc