SwitchClass Class

[edit]switchClass( remove, add, [duration] ) Switches from the class defined in the first argument to the class defined as second argument, using an optional transition.

Namespace: SharpKit.jQuery.UI.Controls

Constructors

Name Description
SwitchClass(JsString, SwitchClassOptions) Creates a new instance of SwitchClass
SwitchClass(JsString) Creates a new instance of SwitchClass

Properties

Name Description
add The CSS class that will be added. Default: null
duration A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000). Default: null Types: String, Number
remove The CSS class that will be removed. Default: null
© Copyright 2005-2011 SharpKit. All rights reserved.