mySelection.property( name, value, [ priority ] ) in D3.js
Set a DOM property for elements in the selection.
Arguments
name | type | description |
---|---|---|
name | String | |
value | String | If this parameter is not a string it is forced to one. |
priority | String |
[optional]
Either null or the string "important" .
|
- Return Type
- Selection
Description
For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-property.
See Also
- Selection.property(name)
- Selection.property(name,func)
- Selection.attr(name,value)