0 votes
in Technology by (325k points)
Explain how you can several classes at once?

1 Answer

0 votes
by (325k points)

To set several classes at once you can use the object literal as

selection.classed({ ‘foo’:true, ‘bar’: false})

Related questions

0 votes
1 answer
0 votes
1 answer
asked Nov 14, 2020 in Technology by JackTerrance (325k points)
0 votes
1 answer
0 votes
1 answer
asked Nov 14, 2020 in Technology by JackTerrance (325k points)
0 votes
1 answer
...