mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 12:46:36 +08:00
Add Selection.classed(object)
.classed() allows an object map as input, similar to .attr() and .style().
This commit is contained in:
1
d3/d3.d.ts
vendored
1
d3/d3.d.ts
vendored
@@ -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