@twobirds/microcomponents 0.0.3 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/MicroComponentProposal_draft.md +1 -1
  2. package/README.md +43 -58
  3. package/dist/microcomponents.d.ts +218 -2
  4. package/dist/microcomponents.d.ts.map +1 -1
  5. package/dist/microcomponents.js +237 -43
  6. package/dist/microcomponents.min.js +7 -6
  7. package/dist/microcomponents.ts +391 -201
  8. package/jsdoc.conf.json +19 -0
  9. package/microcomponents_usage.md +56 -24
  10. package/microcomponents_why.md +25 -0
  11. package/package.json +13 -2
  12. package/public/docs/assets/highlight.css +14 -14
  13. package/public/docs/assets/search.js +1 -1
  14. package/public/docs/classes/microcomponents.MC.html +179 -41
  15. package/public/docs/classes/microcomponents_es3.MC.html +12 -12
  16. package/public/docs/functions/microcomponents_es3.__isEmpty.html +1 -1
  17. package/public/docs/index.html +15 -59
  18. package/public/docs/interfaces/microcomponents.HTMLElementMc.html +2 -2
  19. package/public/docs/modules/microcomponents.html +1 -1
  20. package/public/jsdoc/es3/files.html +216 -0
  21. package/public/jsdoc/es3/index.html +210 -0
  22. package/public/jsdoc/es3/symbols/_global_.html +368 -0
  23. package/public/jsdoc/es3/symbols/src/build_microcomponents.es3.js.html +104 -0
  24. package/public/jsdoc/es5+/files.html +218 -0
  25. package/public/jsdoc/es5+/index.html +218 -0
  26. package/public/jsdoc/es5+/symbols/MC.html +621 -0
  27. package/public/jsdoc/es5+/symbols/_global_.html +720 -0
  28. package/public/jsdoc/es5+/symbols/microcomponents.MC.html +323 -0
  29. package/public/jsdoc/es5+/symbols/src/build_microcomponents.js.html +375 -0
  30. package/src/microcomponents.ts +391 -201
@@ -8,16 +8,19 @@ Also it has selectors to find micro components in the DOM. It consists of a sing
8
8
 
9
9
  ## Summary of MC() Methods
10
10
 
11
- Static Methods:
12
- - **`MC.add( domElement, key, microcomponent)`**: Add another micro component to an element's existing micro component container.
13
- - **`MC.remove( domElement, key)`**: Remove a micro component from an element’s container.
14
-
15
- Selector methods with an optional search string, returning an array of micro components:
16
- - **`myElement._mc.siblings(search?)`**: Retrieve micro components attached to the same element.
17
- - **`myElement._mc.parent(search?)`**: Retrieve micro components attached to the closest parent element that has an `_mc` attribute.
18
- - **`myElement._mc.parents(search?)`**: Retrieve micro components attached to ancestor elements that have an `_mc` attribute.
19
- - **`myElement._mc.children(search?)`**: Retrieve micro components attached to nearest child elements that have an `_mc` attribute.
20
- - **`myElement._mc.descendants(search?)`**: Retrieve micro components attached to all descendant elements that have an `_mc` attribute.
11
+ - **Static Methods:**
12
+ - `MC.add( target, key, element)`: Attach a top level micro component to an HTMLElement.
13
+ - `MC.remove( target, key )`: Detach a top level micro component from an HTMLElement.
14
+ - `MC.siblings( target )`: get top level micro components from an HTMLElement.
15
+
16
+ - **Instance Methods:**
17
+ - `add( key, element )`: Attach a private Micro Component to a Micro Component.
18
+ - `remove( key )`: Detach a private Micro Component from a Micro Component.
19
+ - `siblings(search?)`: Retrieve sibling micro components.
20
+ - `parent(search?)`: Get parent top level micro components.
21
+ - `parents(search?)`: Get all ancestor top level micro components.
22
+ - `children(search?)`: Retrieve child top level micro components.
23
+ - `descendants(search?)`: Get all descendant top level micro components.
21
24
 
22
25
  **Micro Components** will most likely be **class instances** that expose inner methods **or an observable collection** for data driven workflows, e.g. business process logic.
23
26
 
@@ -27,22 +30,32 @@ Selector methods with an optional search string, returning an array of micro com
27
30
  2. **Access** micro components by their property key or navigating through DOM (e.g., `siblings()`, `parents()`, `children()`, etc.) **and use their inner functionality**.
28
31
  3. **Manipulate** micro components by adding or removing them as needed or change their properties/call their methods.
29
32
 
30
- ## 1. Attaching Micro Components to DOM Elements
33
+
34
+ ## Hints
35
+
36
+ - **All static methods handle top level Micro Components. These are PUBLIC, that is they are visible in the DOM elements _mc property and usually have an interface.**
37
+
38
+ - **All MC instance methods handle inner Micro Components. These are PRIVATE, that is they are not visible in the DOM elements _mc property.**
39
+
40
+ - **Micro Components can recursively contain Micro Components. Just like npm and the node_modules directory.**
41
+
42
+
43
+ ## Attaching a top level Micro Component to a DOM element
31
44
 
32
45
  To attach a micro component to an HTML element, use the `MC.add()` static function.
33
46
 
34
47
  ### Example Usage:
35
48
  ```javascript
36
- var myElement = document.getElementById('myDiv');
49
+ const myElement = document.getElementById('myDiv');
37
50
 
38
51
  // Attach a micro component (most often a class instance, here a simple object for simplicity) with a specific key
39
- MC.add( myElement, 'myComponent', { name: 'example' } );
52
+ MC.add( myElement, 'myComponent', { name: 'Mike' } );
40
53
  ```
41
54
 
42
- - After you added a micro component using this function, the HTMLElement will contain a property `_mc` which is an class instance that offers some methods.
55
+ - After you added a micro component using this function, the HTMLElement will contain a property `_mc` which is a MC() class instance that offers some methods.
43
56
  - Also the HTMLElement then has an attribute _mc which will indicate that at least one micro component is attached to this dom element.
44
57
 
45
- ## 2. Removing Micro Components
58
+ ## Removing a top level Micro Component from a DOM element
46
59
 
47
60
  Micro components can be removed using the `MC.remove()` static method.
48
61
 
@@ -54,19 +67,38 @@ MC.remove( myDomElement, 'myComponent');
54
67
  **When all micro components are removed** (the _mc object has no more properties), the `_mc` **attribute is also removed** from the HTML element. The `_mc` **property persists**.
55
68
 
56
69
 
57
- ## 3. Retrieving Sibling Micro components
70
+ ## Retrieve all top level Micro Components from a DOM element
71
+
72
+ The `MC.siblings()` method retrieves all top level micro components attached to the same DOM element.
73
+
74
+ ### Example:
75
+ ```javascript
76
+ const target = document.querySelector( 'div' );
77
+ const siblings = MC.siblings( target );
78
+ console.log(siblings); // Logs an array of top level sibling micro components
79
+ ```
80
+
81
+ To retrieve a specific micro component by its key:
82
+ ```javascript
83
+ const target = document.querySelector( 'div' );
84
+ const siblings = MC.siblings( target, 'myOtherComponent' );
85
+ console.log(siblings); // Logs an array containing a top level sibling micro component, if its key matches the search string
86
+ ```
87
+
88
+
89
+ ## Retrieving Sibling Micro components
58
90
 
59
91
  The `.siblings()` method retrieves all micro components attached to the same DOM element.
60
92
 
61
93
  ### Example:
62
94
  ```javascript
63
- var siblings = myElement._mc.siblings();
95
+ const siblings = myElement._mc.siblings();
64
96
  console.log(siblings); // Logs an array of sibling micro components
65
97
  ```
66
98
 
67
99
  To retrieve a specific micro component by its key:
68
100
  ```javascript
69
- var specificSibling = myElement._mc.siblings('anotherComponent');
101
+ const specificSibling = myElement._mc.siblings('anotherComponent');
70
102
  ```
71
103
 
72
104
 
@@ -79,16 +111,16 @@ The `_mc.parent()` and `_mc.parents()` methods allow you to retrieve micro compo
79
111
 
80
112
  ### Example:
81
113
  ```javascript
82
- var parentMc = myElement._mc.parent();
114
+ const parentMc = myElement._mc.parent();
83
115
  console.log(parentMc); // Logs micro components closest nachestor that has microcomponents
84
116
 
85
- var allAncestorsMc = myElement._mc.parents();
117
+ const allAncestorsMc = myElement._mc.parents();
86
118
  console.log(allAncestorsMc); // Logs all ancestor micro components up to document
87
119
  ```
88
120
 
89
121
  To retrieve a specific micro component attached to the parent or ancestors:
90
122
  ```javascript
91
- var specificAncestorMc = myElement._mc.parents('myComponent');
123
+ const specificAncestorMc = myElement._mc.parents('myComponent');
92
124
  ```
93
125
 
94
126
  ## 5. Retrieving Child and Descendant Micro components
@@ -97,14 +129,14 @@ The `_mc.children()` and `_mc.descendants()` methods retrieve micro components a
97
129
 
98
130
  ### Example:
99
131
  ```javascript
100
- var childMicro components = myElement._mc.children();
132
+ const childMicro components = myElement._mc.children();
101
133
  console.log(childMicro components); // Logs an array of nearest child micro components
102
134
 
103
- var descendantMicro components = myElement._mc.descendants();
135
+ const descendantMicro components = myElement._mc.descendants();
104
136
  console.log(descendantMicro components); // Logs micro components attached to all descendants
105
137
  ```
106
138
 
107
139
  To search for a specific micro component by key:
108
140
  ```javascript
109
- var specificMc = myElement._mc.<someComponent>;
141
+ const specificMc = myElement._mc.<someComponent>;
110
142
  ```
@@ -0,0 +1,25 @@
1
+
2
+ ## Why would I give this a try?
3
+
4
+ It is lightweight, proven and can yield positive results immediatly.
5
+
6
+
7
+ ### **As the CTO**:
8
+
9
+ - **Reusability**: this works with every Javascript framework that allows for DOM access, and it will work as long as the DOM exists in browsers. That is, forever.
10
+ - **Scalability**: scales perfectly by design.
11
+ - **Interoperability**: where many teams in different projects should share specific business or UI logic, you want to have something that works in any JS framework you use.
12
+
13
+ ### **As a Project Manager**:
14
+
15
+ - **Separation of Concerns**: since this is a modular approach you can **split UI logic from Business logic** and let diffent teams work on each.
16
+ - using this, you can **work with external developers without the need to give them access to your projects code repository**.
17
+ - you will find out that this allows your project to **become independent from the "tools hell"**. You tend to use **DIY** modules where you had tools before.
18
+
19
+ ### **As a Javascript Developer**:
20
+
21
+ - The learning curve to use this is more than shallow. 1 hour should be enough.
22
+ - This is based on **plain Javascript/Typescript, HTML and CSS**. There is no abstraction layer.
23
+ - From the very start **it is fun to work with**. You are back in control of your code without bigger frameworks, but you are able to interact with them.
24
+ - You can **work for any customer right away**. **No training on their system required**, just fulfill their micro component requirements.
25
+ - Over time, you can **build your own framework or functional libraries** from scratch.
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@twobirds/microcomponents",
3
- "version": "0.0.3",
3
+ "version": "0.0.6",
4
4
  "description": "Micro Components Organization Class",
5
5
  "main": "microcomponents.js",
6
6
  "sideEffects": false,
7
7
  "scripts": {
8
8
  "typedoc": "typedoc",
9
- "clean": "rm -rf build/*; rm -rf docs/*; rm -rf dist/*;",
9
+ "jsdoc": "jsdoc -v -a -p -d=public/jsdoc/es3 ./build/microcomponents.es3.js; jsdoc -v -c=jsdoc.conf.json -d=public/jsdoc/es5+ ./build/microcomponents.js",
10
+ "clean": "rm -rf build/*; rm -rf public/docs/*; rm -rf dist/*;",
10
11
  "prep": "cp -R assets/* public || true; cp src/* build || true;",
11
12
  "build": "npm run clean; npm run prep; tsc; npm run minify; npm run copyToDist;",
12
13
  "minify": "jsmin -o build/microcomponents.es3.min.js ./src/microcomponents.es3.js;jsmin -o build/microcomponents.min.js build/microcomponents.js;",
@@ -36,5 +37,15 @@
36
37
  "ES2016",
37
38
  "client",
38
39
  "API"
40
+ ],
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://gitlab.com/twoBirds/microcomponents"
44
+ },
45
+ "contributors": [
46
+ {
47
+ "name": "Frank Thürigen",
48
+ "email": "fthuerigen@gmail.com"
49
+ }
39
50
  ]
40
51
  }
@@ -3,22 +3,22 @@
3
3
  --dark-hl-0: #808080;
4
4
  --light-hl-1: #800000;
5
5
  --dark-hl-1: #569CD6;
6
- --light-hl-2: #AF00DB;
7
- --dark-hl-2: #C586C0;
8
- --light-hl-3: #000000;
9
- --dark-hl-3: #D4D4D4;
10
- --light-hl-4: #A31515;
11
- --dark-hl-4: #CE9178;
12
- --light-hl-5: #008000;
13
- --dark-hl-5: #6A9955;
14
- --light-hl-6: #0000FF;
15
- --dark-hl-6: #569CD6;
16
- --light-hl-7: #001080;
17
- --dark-hl-7: #9CDCFE;
6
+ --light-hl-2: #008000;
7
+ --dark-hl-2: #6A9955;
8
+ --light-hl-3: #0000FF;
9
+ --dark-hl-3: #569CD6;
10
+ --light-hl-4: #000000;
11
+ --dark-hl-4: #D4D4D4;
12
+ --light-hl-5: #267F99;
13
+ --dark-hl-5: #4EC9B0;
14
+ --light-hl-6: #001080;
15
+ --dark-hl-6: #9CDCFE;
16
+ --light-hl-7: #0070C1;
17
+ --dark-hl-7: #4FC1FF;
18
18
  --light-hl-8: #795E26;
19
19
  --dark-hl-8: #DCDCAA;
20
- --light-hl-9: #0070C1;
21
- --dark-hl-9: #4FC1FF;
20
+ --light-hl-9: #A31515;
21
+ --dark-hl-9: #CE9178;
22
22
  --light-hl-10: #E50000;
23
23
  --dark-hl-10: #9CDCFE;
24
24
  --light-code-background: #FFFFFF;
@@ -1 +1 @@
1
- window.searchData = JSON.parse("{\"kinds\":{\"2\":\"Module\",\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\"},\"rows\":[{\"kind\":2,\"name\":\"microcomponents\",\"url\":\"modules/microcomponents.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/microcomponents.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"microcomponents\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/microcomponents.MC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents.MC.html#siblings-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents.MC.html#add-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents.MC.html#remove-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/microcomponents.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":1024,\"name\":\"target\",\"url\":\"classes/microcomponents.MC.html#target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":1024,\"name\":\"privateMCs\",\"url\":\"classes/microcomponents.MC.html#privateMCs\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents.MC.html#privateMCs.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.MC.privateMCs\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"classes/microcomponents.MC.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents.MC.html#_mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.MC._mc\"},{\"kind\":2048,\"name\":\"getMicroComponents\",\"url\":\"classes/microcomponents.MC.html#getMicroComponents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"traverseNodes\",\"url\":\"classes/microcomponents.MC.html#traverseNodes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"isDOM\",\"url\":\"classes/microcomponents.MC.html#isDOM\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents.MC.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents.MC.html#remove\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents.MC.html#siblings\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/microcomponents.MC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"classes/microcomponents.MC.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/microcomponents.MC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/microcomponents.MC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":256,\"name\":\"HTMLElementMc\",\"url\":\"interfaces/microcomponents.HTMLElementMc.html\",\"classes\":\"tsd-kind-interface tsd-parent-kind-module\",\"parent\":\"microcomponents\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"interfaces/microcomponents.HTMLElementMc.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"microcomponents.HTMLElementMc\"},{\"kind\":2,\"name\":\"microcomponents.es3\",\"url\":\"modules/microcomponents_es3.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":64,\"name\":\"__isEmpty\",\"url\":\"functions/microcomponents_es3.__isEmpty.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"microcomponents.es3\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/microcomponents_es3.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"microcomponents.es3\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents_es3.MC.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents_es3.MC.html#remove\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/microcomponents_es3.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":1024,\"name\":\"_target\",\"url\":\"classes/microcomponents_es3.MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents_es3.MC.html#siblings\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/microcomponents_es3.MC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"classes/microcomponents_es3.MC.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/microcomponents_es3.MC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/microcomponents_es3.MC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,32.055]],[\"comment/0\",[]],[\"name/1\",[1,26.946]],[\"comment/1\",[]],[\"name/2\",[2,32.055]],[\"comment/2\",[]],[\"name/3\",[3,23.582]],[\"comment/3\",[]],[\"name/4\",[4,23.582]],[\"comment/4\",[]],[\"name/5\",[5,23.582]],[\"comment/5\",[]],[\"name/6\",[6,26.946]],[\"comment/6\",[]],[\"name/7\",[7,32.055]],[\"comment/7\",[]],[\"name/8\",[8,32.055]],[\"comment/8\",[]],[\"name/9\",[9,26.946]],[\"comment/9\",[]],[\"name/10\",[10,26.946]],[\"comment/10\",[]],[\"name/11\",[9,26.946]],[\"comment/11\",[]],[\"name/12\",[11,32.055]],[\"comment/12\",[]],[\"name/13\",[12,32.055]],[\"comment/13\",[]],[\"name/14\",[13,32.055]],[\"comment/14\",[]],[\"name/15\",[4,23.582]],[\"comment/15\",[]],[\"name/16\",[5,23.582]],[\"comment/16\",[]],[\"name/17\",[3,23.582]],[\"comment/17\",[]],[\"name/18\",[14,26.946]],[\"comment/18\",[]],[\"name/19\",[15,26.946]],[\"comment/19\",[]],[\"name/20\",[16,26.946]],[\"comment/20\",[]],[\"name/21\",[17,26.946]],[\"comment/21\",[]],[\"name/22\",[18,32.055]],[\"comment/22\",[]],[\"name/23\",[10,26.946]],[\"comment/23\",[]],[\"name/24\",[19,32.055]],[\"comment/24\",[]],[\"name/25\",[20,32.055]],[\"comment/25\",[]],[\"name/26\",[1,26.946]],[\"comment/26\",[]],[\"name/27\",[4,23.582]],[\"comment/27\",[]],[\"name/28\",[5,23.582]],[\"comment/28\",[]],[\"name/29\",[6,26.946]],[\"comment/29\",[]],[\"name/30\",[21,32.055]],[\"comment/30\",[]],[\"name/31\",[3,23.582]],[\"comment/31\",[]],[\"name/32\",[14,26.946]],[\"comment/32\",[]],[\"name/33\",[15,26.946]],[\"comment/33\",[]],[\"name/34\",[16,26.946]],[\"comment/34\",[]],[\"name/35\",[17,26.946]],[\"comment/35\",[]]],\"invertedIndex\":[[\"__isempty\",{\"_index\":20,\"name\":{\"25\":{}},\"comment\":{}}],[\"__type\",{\"_index\":9,\"name\":{\"9\":{},\"11\":{}},\"comment\":{}}],[\"_mc\",{\"_index\":10,\"name\":{\"10\":{},\"23\":{}},\"comment\":{}}],[\"_target\",{\"_index\":21,\"name\":{\"30\":{}},\"comment\":{}}],[\"add\",{\"_index\":4,\"name\":{\"4\":{},\"15\":{},\"27\":{}},\"comment\":{}}],[\"children\",{\"_index\":16,\"name\":{\"20\":{},\"34\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":6,\"name\":{\"6\":{},\"29\":{}},\"comment\":{}}],[\"debug\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"descendants\",{\"_index\":17,\"name\":{\"21\":{},\"35\":{}},\"comment\":{}}],[\"getmicrocomponents\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"htmlelementmc\",{\"_index\":18,\"name\":{\"22\":{}},\"comment\":{}}],[\"isdom\",{\"_index\":13,\"name\":{\"14\":{}},\"comment\":{}}],[\"mc\",{\"_index\":1,\"name\":{\"1\":{},\"26\":{}},\"comment\":{}}],[\"microcomponents\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"microcomponents.es3\",{\"_index\":19,\"name\":{\"24\":{}},\"comment\":{}}],[\"parent\",{\"_index\":14,\"name\":{\"18\":{},\"32\":{}},\"comment\":{}}],[\"parents\",{\"_index\":15,\"name\":{\"19\":{},\"33\":{}},\"comment\":{}}],[\"privatemcs\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"remove\",{\"_index\":5,\"name\":{\"5\":{},\"16\":{},\"28\":{}},\"comment\":{}}],[\"siblings\",{\"_index\":3,\"name\":{\"3\":{},\"17\":{},\"31\":{}},\"comment\":{}}],[\"target\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"traversenodes\",{\"_index\":12,\"name\":{\"13\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
1
+ window.searchData = JSON.parse("{\"kinds\":{\"2\":\"Module\",\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\"},\"rows\":[{\"kind\":2,\"name\":\"microcomponents\",\"url\":\"modules/microcomponents.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":256,\"name\":\"HTMLElementMc\",\"url\":\"interfaces/microcomponents.HTMLElementMc.html\",\"classes\":\"tsd-kind-interface tsd-parent-kind-module\",\"parent\":\"microcomponents\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"interfaces/microcomponents.HTMLElementMc.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"microcomponents.HTMLElementMc\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/microcomponents.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"microcomponents\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/microcomponents.MC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents.MC.html#siblings-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents.MC.html#add-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents.MC.html#remove-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/microcomponents.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":1024,\"name\":\"target\",\"url\":\"classes/microcomponents.MC.html#target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":1024,\"name\":\"privateMCs\",\"url\":\"classes/microcomponents.MC.html#privateMCs\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents.MC.html#privateMCs.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.MC.privateMCs\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"classes/microcomponents.MC.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents.MC.html#_mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.MC._mc\"},{\"kind\":2048,\"name\":\"getMicroComponents\",\"url\":\"classes/microcomponents.MC.html#getMicroComponents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"traverseNodes\",\"url\":\"classes/microcomponents.MC.html#traverseNodes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"isDOM\",\"url\":\"classes/microcomponents.MC.html#isDOM\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents.MC.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents.MC.html#remove\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents.MC.html#siblings\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/microcomponents.MC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"classes/microcomponents.MC.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/microcomponents.MC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/microcomponents.MC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2,\"name\":\"microcomponents.es3\",\"url\":\"modules/microcomponents_es3.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":64,\"name\":\"__isEmpty\",\"url\":\"functions/microcomponents_es3.__isEmpty.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"microcomponents.es3\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/microcomponents_es3.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"microcomponents.es3\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents_es3.MC.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents_es3.MC.html#remove\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/microcomponents_es3.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":1024,\"name\":\"_target\",\"url\":\"classes/microcomponents_es3.MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents_es3.MC.html#siblings\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/microcomponents_es3.MC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"classes/microcomponents_es3.MC.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/microcomponents_es3.MC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/microcomponents_es3.MC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,32.055]],[\"comment/0\",[]],[\"name/1\",[1,32.055]],[\"comment/1\",[]],[\"name/2\",[2,26.946]],[\"comment/2\",[]],[\"name/3\",[3,26.946]],[\"comment/3\",[]],[\"name/4\",[4,32.055]],[\"comment/4\",[]],[\"name/5\",[5,23.582]],[\"comment/5\",[]],[\"name/6\",[6,23.582]],[\"comment/6\",[]],[\"name/7\",[7,23.582]],[\"comment/7\",[]],[\"name/8\",[8,26.946]],[\"comment/8\",[]],[\"name/9\",[9,32.055]],[\"comment/9\",[]],[\"name/10\",[10,32.055]],[\"comment/10\",[]],[\"name/11\",[11,26.946]],[\"comment/11\",[]],[\"name/12\",[2,26.946]],[\"comment/12\",[]],[\"name/13\",[11,26.946]],[\"comment/13\",[]],[\"name/14\",[12,32.055]],[\"comment/14\",[]],[\"name/15\",[13,32.055]],[\"comment/15\",[]],[\"name/16\",[14,32.055]],[\"comment/16\",[]],[\"name/17\",[6,23.582]],[\"comment/17\",[]],[\"name/18\",[7,23.582]],[\"comment/18\",[]],[\"name/19\",[5,23.582]],[\"comment/19\",[]],[\"name/20\",[15,26.946]],[\"comment/20\",[]],[\"name/21\",[16,26.946]],[\"comment/21\",[]],[\"name/22\",[17,26.946]],[\"comment/22\",[]],[\"name/23\",[18,26.946]],[\"comment/23\",[]],[\"name/24\",[19,32.055]],[\"comment/24\",[]],[\"name/25\",[20,32.055]],[\"comment/25\",[]],[\"name/26\",[3,26.946]],[\"comment/26\",[]],[\"name/27\",[6,23.582]],[\"comment/27\",[]],[\"name/28\",[7,23.582]],[\"comment/28\",[]],[\"name/29\",[8,26.946]],[\"comment/29\",[]],[\"name/30\",[21,32.055]],[\"comment/30\",[]],[\"name/31\",[5,23.582]],[\"comment/31\",[]],[\"name/32\",[15,26.946]],[\"comment/32\",[]],[\"name/33\",[16,26.946]],[\"comment/33\",[]],[\"name/34\",[17,26.946]],[\"comment/34\",[]],[\"name/35\",[18,26.946]],[\"comment/35\",[]]],\"invertedIndex\":[[\"__isempty\",{\"_index\":20,\"name\":{\"25\":{}},\"comment\":{}}],[\"__type\",{\"_index\":11,\"name\":{\"11\":{},\"13\":{}},\"comment\":{}}],[\"_mc\",{\"_index\":2,\"name\":{\"2\":{},\"12\":{}},\"comment\":{}}],[\"_target\",{\"_index\":21,\"name\":{\"30\":{}},\"comment\":{}}],[\"add\",{\"_index\":6,\"name\":{\"6\":{},\"17\":{},\"27\":{}},\"comment\":{}}],[\"children\",{\"_index\":17,\"name\":{\"22\":{},\"34\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":8,\"name\":{\"8\":{},\"29\":{}},\"comment\":{}}],[\"debug\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"descendants\",{\"_index\":18,\"name\":{\"23\":{},\"35\":{}},\"comment\":{}}],[\"getmicrocomponents\",{\"_index\":12,\"name\":{\"14\":{}},\"comment\":{}}],[\"htmlelementmc\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"isdom\",{\"_index\":14,\"name\":{\"16\":{}},\"comment\":{}}],[\"mc\",{\"_index\":3,\"name\":{\"3\":{},\"26\":{}},\"comment\":{}}],[\"microcomponents\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"microcomponents.es3\",{\"_index\":19,\"name\":{\"24\":{}},\"comment\":{}}],[\"parent\",{\"_index\":15,\"name\":{\"20\":{},\"32\":{}},\"comment\":{}}],[\"parents\",{\"_index\":16,\"name\":{\"21\":{},\"33\":{}},\"comment\":{}}],[\"privatemcs\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"remove\",{\"_index\":7,\"name\":{\"7\":{},\"18\":{},\"28\":{}},\"comment\":{}}],[\"siblings\",{\"_index\":5,\"name\":{\"5\":{},\"19\":{},\"31\":{}},\"comment\":{}}],[\"target\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"traversenodes\",{\"_index\":13,\"name\":{\"15\":{}},\"comment\":{}}]],\"pipeline\":[]}}");