|
Port Sky widgets demo to Dart
This CL updates sky-box, sky-button, sky-checkbox, sky-input, and sky-radio to
work in Dart. We don't have a data binding system yet, so there's a bit more
plumbing in the code.
This CL adds support for sky-element@attributes, which lets you specify which
attributes your element supports. We use this information to synthesize getters
and setters for those attributes and to dispatch to mumbleChanged methods when
the attributes change.
I've also wrapped the widgets demo itself in a sky-scrollable so the whole
thing scrolls.
R=eseidel@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/9350c53370050ad02fb93f84ba0ea476e83a7fdc
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+375 lines, -226 lines) |
Patch |
|
M |
sky/engine/core/dom/Element.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sky/examples/widgets/index.sky
|
View
|
|
1 chunk |
+2 lines, -82 lines |
0 comments
|
Download
|
|
A |
sky/examples/widgets/widget-root.sky
|
View
|
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/framework/dom-serializer.sky
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/framework/sky-box.sky
|
View
|
|
2 chunks |
+25 lines, -9 lines |
0 comments
|
Download
|
|
M |
sky/framework/sky-button.sky
|
View
|
|
2 chunks |
+24 lines, -19 lines |
0 comments
|
Download
|
|
M |
sky/framework/sky-checkbox.sky
|
View
|
|
2 chunks |
+38 lines, -20 lines |
0 comments
|
Download
|
|
M |
sky/framework/sky-element.sky
|
View
|
|
4 chunks |
+84 lines, -7 lines |
0 comments
|
Download
|
|
M |
sky/framework/sky-input.sky
|
View
|
|
2 chunks |
+33 lines, -34 lines |
0 comments
|
Download
|
|
M |
sky/framework/sky-radio.sky
|
View
|
|
3 chunks |
+70 lines, -54 lines |
0 comments
|
Download
|
Total messages: 4 (1 generated)
|