Lines Matching defs:state
5 * @param {bool} noaria supress aria-expanded state setting
17 * @param {bool} noaria supress aria-expanded state setting
28 * @param {bool} state the current state of the element (optional)
29 * @param {function} fn callback after the state has been toggled
30 * @param {bool} noaria supress aria-expanded state setting
32 jQuery.fn.dw_toggle = function(state, fn, noaria) {
35 if (typeof state === 'undefined') {
36 state = $this.is(':hidden');
38 $this[state ? "dw_show" : "dw_hide" ](fn, noaria);