svg - d3.classed() with multiple selections -


i trying select multiple classes , use .class() remove class them.

it's not working.

does know way achieve this?

d3.selectall(".app-map-charts-circles0 .app-map-charts-circles1 .app-map-charts-circles2 .app-map-charts-circles3")                 .classed("app-map-charts-circles-active", false); 

separate distinct classes comma. if using spaces, find nested selections.

correctly written, is:

d3.selectall(".app-map-charts-circles0, .app-map-charts-circles1, .app-map-charts-circles2, .app-map-charts-circles3").classed(... 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -