diff --git a/src/g-component.html b/src/g-component.html
index b9b001dd37..a653fb04ad 100644
--- a/src/g-component.html
+++ b/src/g-component.html
@@ -1,745 +1,831 @@
-
-
-
+ }
+ };
+
+ function bindAccumulatedEvents(inNode, inEvents) {
+ var fn = __.bind(inNode);
+ for (var n in inEvents) {
+ log.events && console.log('[%s] bindAccumulatedEvents: addEventListener("%s", __)', inNode.localName, n);
+ inNode.addEventListener(n, fn);
+ }
+ };
+
+ function __(inEvent) {
+ var on = prefix + inEvent.type;
+ log.events && console.group("[%s]: __ [%s]", this.localName, on);
+ var t = inEvent.target;
+ while (t && t != this) {
+ t = deref(t);
+ log.events && console.dir(t);
+ if (t.attributes) {
+ var h = t.getAttribute(on);
+ if (h) {
+ var c = findController(t);
+ log.events && console.log('found handler [%s] for controller', h, c);
+ if (c == this) {
+ log.events && console.log('invoking [%s]', h);
+ if (this.$protected[h]) {
+ this.$protected[h](inEvent, inEvent.detail, t);
+ }
+ }
+ }
+ }
+ t = t.parentNode;
+ }
+ log.events && console.groupEnd();
+ };
+
\ No newline at end of file
diff --git a/src/g-icon.html b/src/g-icon.html
index f2339622a0..ca6995828a 100644
--- a/src/g-icon.html
+++ b/src/g-icon.html
@@ -16,7 +16,7 @@
opacity: 0.8;
}
- .icon {
+ #icon {
width: 21px;
height: 21px;
cursor: pointer;
@@ -24,9 +24,13 @@
background-size: contain;
}
-
+
-
diff --git a/src/g-menu.html b/src/g-menu.html
index 0bcd6f898b..0a6149f015 100644
--- a/src/g-menu.html
+++ b/src/g-menu.html
@@ -5,7 +5,7 @@
* license that can be found in the LICENSE file.
*/
-->
-
+
+
+
+
@@ -13,10 +14,10 @@
-
+
diff --git a/workbench/icon.html b/workbench/icon.html
index 9c5ced2f72..8b9841881c 100644
--- a/workbench/icon.html
+++ b/workbench/icon.html
@@ -6,6 +6,7 @@
+
Icon
diff --git a/workbench/menu-button.html b/workbench/menu-button.html
index f60071c864..de9c4ec4cb 100644
--- a/workbench/menu-button.html
+++ b/workbench/menu-button.html
@@ -4,9 +4,11 @@
license that can be found in the LICENSE file.
-->
+
- Dropdown Button
+
+ Menu Button
@@ -15,7 +17,11 @@
html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, 'open sans', sans-serif;
height: 100%;
+ }
+ body {
+ font-family: 'Helvetica Neue', Helvetica, Arial, 'open sans', sans-serif;
margin: 0;
+ opacity: 0;
overflow: hidden;
}
diff --git a/workbench/menu.html b/workbench/menu.html
index 29e6b7d2b6..ba35baab27 100644
--- a/workbench/menu.html
+++ b/workbench/menu.html
@@ -6,6 +6,7 @@
+
Menu
-
+
Content...
diff --git a/workbench/panels.html b/workbench/panels.html
index 4d84b077df..ef9eab9d0a 100644
--- a/workbench/panels.html
+++ b/workbench/panels.html
@@ -1,8 +1,9 @@
+
Panels
-
+
-
+
diff --git a/workbench/ratings.html b/workbench/ratings.html
index fdf2c6ea3c..0295b4d294 100644
--- a/workbench/ratings.html
+++ b/workbench/ratings.html
@@ -6,11 +6,12 @@
+
Ratings
-
+
diff --git a/workbench/selection.html b/workbench/selection.html
index e83fc0f6ea..9fcb130ec1 100644
--- a/workbench/selection.html
+++ b/workbench/selection.html
@@ -8,6 +8,7 @@
Selection
+
diff --git a/workbench/selector.html b/workbench/selector.html
index bc67867bc4..c409152a69 100644
--- a/workbench/selector.html
+++ b/workbench/selector.html
@@ -24,7 +24,7 @@
Single-select
-
+
Item 1
Item 2
Item 3
diff --git a/workbench/tabs.html b/workbench/tabs.html
index 0d2fac5325..fc8fe6904b 100644
--- a/workbench/tabs.html
+++ b/workbench/tabs.html
@@ -1,11 +1,12 @@
-
+
+
Tabs
-
+
One
Two
diff --git a/workbench/togglebutton.html b/workbench/togglebutton.html
index b542880b68..e199c69950 100644
--- a/workbench/togglebutton.html
+++ b/workbench/togglebutton.html
@@ -3,14 +3,15 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
-
+
+
Toggle Button
-
+
diff --git a/workbench/toolbar.html b/workbench/toolbar.html
index c636b6d4ae..c4fdaf67ab 100644
--- a/workbench/toolbar.html
+++ b/workbench/toolbar.html
@@ -3,10 +3,11 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
-
+
- Menu
+
+ Toolbar
@@ -14,9 +15,12 @@
html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, 'open sans', sans-serif;
height: 100%;
+ }
+ body {
+ font-family: 'Helvetica Neue', Helvetica, Arial, 'open sans', sans-serif;
margin: 0;
+ opacity: 0;
}
-