Functiondojo.hasClass

<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js

Returns whether or not the specified classes are a portion of the class list currently applied to the node.

Usage

function (/*DomNode|String*/ node, /*String*/ classStr) (view source)
parametertypedescription
nodeDomNode|String 
classStrString