ic-add-class - The Add Class Attribute

Summary

The ic-add-class attribute allows you to add classes to an element after a specified delay.

Syntax

The value of the attribute can be either a valid CSS class name, a valid CSS class name followed by a colon followed by a time delay, or a comma separated list of either of these.

Dependencies

The ic-add-class attribute has no effect on dependencies.

Example

Here is a simple example, which adds a 'fadeRed' class after 2 seconds and takes 10 seconds to complete the transition.

        <h3 ic-add-class="fadeRed">This Will Fade Red</h3>
      

This Will Fade Red