events

Contains functions for binding events. The following is a list of ProBoards events that can be used and when they are triggered:
  • afterSearch - After an autosearch is completed in a board, thread, or conversation
  • columnSort - A column is sorted
  • moreActivity - When the 'More Activities' button is clicked in a user's profile
  • moreNotification - When the 'More Notifications' button is clicked in a user's profile
  • pageChange - When pagination occurs in a thread or conversation

Methods:

on
one

Direct Link

on

( event, callback )
Creates a bind for the specified event.

Parameters

  • event String
    The name of the event on which to bind.
  • callback Function
    The function to run when the specified event occurs.

Direct Link

one

( event, callback )
Creates a bind for the specified event that will only be triggered once.

Parameters

  • event String
    The name of the event on which to bind.
  • callback Function
    The function to run when the specified event occurs.