Class Rico.HoverSet
Defined in: <ricoBehaviors.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Rico.HoverSet(hoverSet, options)
|
| Method Attributes | Method Name and Description |
|---|---|
|
add(item)
|
|
|
hover(target)
|
|
|
unHover(target)
|
Class Detail
Rico.HoverSet(hoverSet, options)
- Parameters:
- hoverSet
- collection of DOM elements
- options
- object may contain any of the following:
- hoverClass
- class name to add when mouse is over element, default is "hover"
- hoverNodes
- optional function to select/filter which nodes are in the set
Method Detail
add(item)
- Parameters:
- item
hover(target)
- Parameters:
- target
unHover(target)
- Parameters:
- target