Lines Matching refs:state

965 PROTOTYPE.toggle = function(state, event) {  argument
983 this.waiting && !state && (this.hiddenDuringWait = TRUE);
986 if(!this.rendered) { return state ? this.render(1) : this; }
989 var type = state ? 'show' : 'hide',
991 otherOpts = this.options[ !state ? 'show' : 'hide' ],
996 animate = state || opts.target.length === 1,
1001 if((typeof state).search('boolean|number')) { state = !visible; }
1004 identicalState = !tooltip.is(':animated') && visible === state && sameTarget;
1013 if(allow !== FALSE && state) { this.focus(event); }
1019 $.attr(tooltip[0], 'aria-hidden', !!!state);
1022 if(state) {
1066 if(state) {
1093 this._trigger(state ? 'visible' : 'hidden');
1112 else { tooltip.fadeTo(90, state ? 1 : 0, after); }
1115 if(state) { opts.target.trigger('qtip-'+this.id+'-inactive'); }
1170 ;PROTOTYPE.disable = function(state) { argument
1174 if(state === 'toggle') {
1175 state = !(this.rendered ? this.tooltip.hasClass(CLASS_DISABLED) : this.disabled);
1179 else if('boolean' !== typeof state) {
1180 state = TRUE;
1184 this.tooltip.toggleClass(CLASS_DISABLED, state)
1185 .attr('aria-disabled', state);
1188 this.disabled = !!state;
1390 var state = event.type === 'mouseenter',
1396 if(state) {
1414 tooltip.toggleClass(CLASS_HOVER, state);
1454 var state = this.rendered ? this.tooltip[0].offsetWidth > 0 : false;
1455 (state ? hideMethod : showMethod).call(this, event);
2713 toggle: function(api, state, duration) { argument
2718 type = state ? 'show': 'hide',
2728 if(state && options.stealfocus !== FALSE) {
2736 if(state) {
2741 …if((elem.is(':animated') && visible === state && prevState !== FALSE) || (!state && visibleModals.…
2750 effect.call(elem, state);
2760 elem.fadeTo( parseInt(duration, 10) || 90, state ? 1 : 0, function() {
2761 if(!state) { elem.hide(); }
2766 if(!state) {
2775 prevState = state;
2865 toggle: function(event, state, duration) { argument
2870 OVERLAY.toggle(this.qtip, !!state, duration);