# Add Class Action Element

Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | About

## Table of Contents

- 1 Add Class Action - #addclass {}

## 1 Add Class Action - #addclass {}

Call JQuery UI's add_class(class, speed) on the target element.

### Usage

    wf:wire(myDiv, #add_class { class=selected, speed=1000 })

### Attributes

class - (atom)
  Name of the class.
speed - (integer)
  Speed of the effect, in milliseconds.

### See Also

- base element
- Remove Class

Date: 2012-10-18 03:26:40 CDT

Author: Rusty Klophaus (@rustyio)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0

## Comments

Note:To specify code blocks, just use the generic code block syntax:

    <pre><code>your code here</code></pre>

comments powered by Disqus