myTransition.style( name, value, [ priority ] ) in D3.js
Transition a CSS style to a new value.
Arguments
name | type | description |
---|---|---|
name | String | Name of the CSS property to transition. |
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
- Transition
Description
For more details see https://github.com/mbostock/d3/wiki/Transitions#wiki-style.
See Also
- Transition.style(name,func,[priority])
- Selection.style(name,value,[priority])