Add Selection.classed(object)

.classed() allows an object map as input, similar to .attr() and .style().
This commit is contained in:
Justin Lan
2014-10-16 10:54:37 -07:00
parent 4dd796bb15
commit 996282fe8c

1
d3/d3.d.ts vendored
View File

@@ -719,6 +719,7 @@ declare module D3 {
(name: string): string;
(name: string, value: any): Selection;
(name: string, valueFunction: (data: any, index: number) => any): Selection;
(classValueMap: Object): Selection;
};
style: {