Search and Top Navigation
#15220 open bug ()
Opened July 21, 2017 09:05AM UTC
Last modified July 27, 2017 08:22PM UTC
switchClass documented feature of passing options object is not existing in code
| Reported by: | UltraMCPL | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | none |
| Component: | ui.effects.core | Version: | 1.12.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but it does not work:
$container.switchClass(remove, add, { queue: false })
while following without those options works:
$container.switchClass(remove, add)
Attachments (0)
Change History (4)
Changed July 21, 2017 09:06AM UTC by comment:1
| description: | https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but in sourcecode there is no use of last parameter (options). In code it's treated like a 'duration'. → https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but in sourcecode there is no use of last parameter (options). In code it's treated like a 'easing'. |
|---|
Changed July 21, 2017 09:09AM UTC by comment:2
| description: | https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but in sourcecode there is no use of last parameter (options). In code it's treated like a 'easing'. → https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but it does not work: \ $container.switchClass(remove, add, { queue: false }) \ \ while following without those options works: \ $container.switchClass(remove, add) |
|---|
Changed July 21, 2017 06:55PM UTC by comment:3
| description: | https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but it does not work: \ $container.switchClass(remove, add, { queue: false }) \ \ while following without those options works: \ $container.switchClass(remove, add) → https://api.jqueryui.com/switchclass/#switchClass-removeClassName-addClassName-options is documented but it does not work: \ {{{#!js \ $container.switchClass(remove, add, { queue: false }) \ }}} \ \ while following without those options works: \ {{{#!js \ $container.switchClass(remove, add) \ }}} |
|---|
Changed July 27, 2017 08:22PM UTC by comment:4
| component: | ui.core → ui.effects.core |
|---|---|
| status: | new → open |