mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-14 05:50:20 +00:00
Add Selection.classed(object)
.classed() allows an object map as input, similar to .attr() and .style().
This commit is contained in:
Vendored
+1
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user