User Tools

Events (Topic)

This topic contains all functions that are directly related to Events:

Attatch/remove

  • .on() – attaches an event handler to an element.
  • .once() – same as .on, but the handler will be detached automatically once it was called.
  • .off() – detaches an event handler from an element.

Shorthand functions

  • .onBlur() – attaches an event handler to the “blur” event of any element.
  • .onClick() – attaches an event handler to the “click” event of any element.
  • .onFocus() – attaches an event handler to the “focus” event of any element.
  • .onSubmit() – attaches an event handler to the “submit” event of a form element.
  • .onReady() – attaches an event handler to the “ready” event of the document.

More information

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information