source: node_modules/d3-selection/src/selection/index.js@ e4c61dd

Last change on this file since e4c61dd was e4c61dd, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Prototype 1.1

  • Property mode set to 100644
File size: 2.7 KB
Line 
1import selection_select from "./select.js";
2import selection_selectAll from "./selectAll.js";
3import selection_selectChild from "./selectChild.js";
4import selection_selectChildren from "./selectChildren.js";
5import selection_filter from "./filter.js";
6import selection_data from "./data.js";
7import selection_enter from "./enter.js";
8import selection_exit from "./exit.js";
9import selection_join from "./join.js";
10import selection_merge from "./merge.js";
11import selection_order from "./order.js";
12import selection_sort from "./sort.js";
13import selection_call from "./call.js";
14import selection_nodes from "./nodes.js";
15import selection_node from "./node.js";
16import selection_size from "./size.js";
17import selection_empty from "./empty.js";
18import selection_each from "./each.js";
19import selection_attr from "./attr.js";
20import selection_style from "./style.js";
21import selection_property from "./property.js";
22import selection_classed from "./classed.js";
23import selection_text from "./text.js";
24import selection_html from "./html.js";
25import selection_raise from "./raise.js";
26import selection_lower from "./lower.js";
27import selection_append from "./append.js";
28import selection_insert from "./insert.js";
29import selection_remove from "./remove.js";
30import selection_clone from "./clone.js";
31import selection_datum from "./datum.js";
32import selection_on from "./on.js";
33import selection_dispatch from "./dispatch.js";
34import selection_iterator from "./iterator.js";
35
36export var root = [null];
37
38export function Selection(groups, parents) {
39 this._groups = groups;
40 this._parents = parents;
41}
42
43function selection() {
44 return new Selection([[document.documentElement]], root);
45}
46
47function selection_selection() {
48 return this;
49}
50
51Selection.prototype = selection.prototype = {
52 constructor: Selection,
53 select: selection_select,
54 selectAll: selection_selectAll,
55 selectChild: selection_selectChild,
56 selectChildren: selection_selectChildren,
57 filter: selection_filter,
58 data: selection_data,
59 enter: selection_enter,
60 exit: selection_exit,
61 join: selection_join,
62 merge: selection_merge,
63 selection: selection_selection,
64 order: selection_order,
65 sort: selection_sort,
66 call: selection_call,
67 nodes: selection_nodes,
68 node: selection_node,
69 size: selection_size,
70 empty: selection_empty,
71 each: selection_each,
72 attr: selection_attr,
73 style: selection_style,
74 property: selection_property,
75 classed: selection_classed,
76 text: selection_text,
77 html: selection_html,
78 raise: selection_raise,
79 lower: selection_lower,
80 append: selection_append,
81 insert: selection_insert,
82 remove: selection_remove,
83 clone: selection_clone,
84 datum: selection_datum,
85 on: selection_on,
86 dispatch: selection_dispatch,
87 [Symbol.iterator]: selection_iterator
88};
89
90export default selection;
Note: See TracBrowser for help on using the repository browser.