_JQ.jqSwitchClass🔗 jQueryUI SwitchClass effect

Constructor: [selector [removeClassName addClassName [duration [easing [complete]]]] | options]]

selector – the jQuery/CSS selector from which to remove the class

removeClassName – one or more class names (space separated) to be removed from the class attribute of each matched element

addClassName – one or more class names (space separated) to be added to the class attribute of each matched element

duration – number or string (default: 400) determining how long the animation will run

easing – a string (default: 'swing') indicating which easing function to use for the transition

complete – a function (no default) to call once the animation is complete, called once per matched element

options – all animation settings (all optional)

Public Fields:

Selector – the jQuery/CSS selector from which to remove the class

RemoveClassName – one or more class names (space separated) to be removed from the class attribute of each matched element

AddClassName – one or more class names (space separated) to be added to the class attribute of each matched element

Duration – number or string (default: 400) determining how long the animation will run

Easing – a string (default: 'swing') indicating which easing function to use for the transition

Complete – a function (no default) to call once the animation is complete, called once per matched element

Options – all animation settings (all optional)

Relevant Sample Pages:

Controls used on this page: Dyalog: Tabs Base HTML: style