Description

Any event handlers attached with .on() or one of its shortcut methods are triggered when the corresponding event occurs. They can be fired manually, however, with the .trigger() method.

Usage

Parameters

  • events {String}

    One or more space-separated event types and optional namespaces, such as "click" or "mouseover"

  • params {Object|Array}

    Params

Discussion