Skip to main content

Search and Top Navigation

#10539 open feature ()

Opened August 12, 2014 08:10AM UTC

Last modified November 18, 2014 06:46PM UTC

Effects: Enhanced effect methods should support the full API from core

Reported by: sJoris Owned by:
Priority: minor Milestone: none
Component: ui.effects.core Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:
Description

The jQuery UI functions .show(), .hide() and .toggle() should extend the jQuery core functions, but all the functionality of the Core functions break when using the ''options'' argument with the extended property effect.

The properties of the Core functions that stop working are: start, step, progress, done, fail and always.

It seems it is not possible to 'mix' properties of jQuery UI with properties of the jQuery Core, but that is what is expected when it says "''This plugin extends jQuery's built-in method''".

Test case: http://jsfiddle.net/eoqrkL88/

The Unit test on line 21 (''.hide() with step'') also fails if the property effect is added.

Related: Ticket #9126.

Attachments (0)
Change History (2)

Changed August 12, 2014 02:19PM UTC by scottgonzalez comment:1

status: newopen
summary: Effects: show/hide/toggle Core functions break when adding property EffectEffects: Enhanced effect methods should support the full API from core
type: bugfeature

"This plugin extends jQuery's built-in method" means that the existing APIs still exist and new APIs have been added. It doesn't say anything about the functionality of the new APIs, other than that they don't break the existing APIs.

Changed November 18, 2014 06:46PM UTC by mikesherov comment:2

Just as a note, they also don't support "step".