[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/resources/src/jquery/ -> jquery.makeCollapsible.js (summary)

jQuery makeCollapsible Dual licensed: - CC BY 3.0 <http://creativecommons.org/licenses/by/3.0> - GPL2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>

File Size: 404 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  toggleElement()
  togglingHandler()

Functions
Functions that are not part of a class:

toggleElement( $collapsible, action, $defaultToggle, options )   X-Ref
Handler for a click on a collapsible toggler.

param: {jQuery} $collapsible
param: {string} action The action this function will take ('expand' or 'collapse').
param: {jQuery|null} [$defaultToggle]
param: {Object|undefined} [options]

togglingHandler( $toggle, $collapsible, e, options )   X-Ref
Handle clicking/keypressing on the collapsible element toggle and other
situations where a collapsible element is toggled (e.g. the initial
toggle for collapsed ones).

param: {jQuery} $toggle the clickable toggle itself
param: {jQuery} $collapsible the collapsible element
param: {jQuery.Event|null} e either the event or null if unavailable
param: {Object|undefined} options



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1