Raster.hasClass( element, className )
Test if an element has a given class nameParameters
Name | Type | Description | |
---|---|---|---|
element | object | A DOM element. | |
className | string | Name of the style class to be tested in this element. |
Returns
Type | Description |
---|---|
boolean |
Returns if the element contains the given className in
its class attribute. |