mySelection.classed( name ) in D3.js
Check to see if the selection has the specified class.
Arguments
name | type | description |
---|---|---|
name | String |
- Return Type
- Boolean
Description
For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-classed.
See Also
- Selection.classed(name,setFlag)
- Selection.classed(name,func)