dojo.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.
parameter | type | description |
---|---|---|
node | DomNode|String | |
classStr | String |