ToggleClass Class

[edit]toggleClass( class, [duration] ) Adds the specified class if it is not present, and removes the specified class if it is present, using an optional transition.

Namespace: SharpKit.jQuery.UI.Controls

Constructors

Name Description
ToggleClass(JsString, ToggleClassOptions) Creates a new instance of ToggleClass
ToggleClass(JsString) Creates a new instance of ToggleClass

Properties

Name Description
class A CSS class to toggle on the elements. 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
© Copyright 2005-2011 SharpKit. All rights reserved.