Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Side by Side Diff: sky/examples/flights-app/app-panel.sky

Issue 788943003: Make SkyElement more classy. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Don't change indent. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> 1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" />
2
3 <sky-element name="app-panel">
2 <template> 4 <template>
3 <style> 5 <style>
4 :host { 6 :host {
5 display: flex; 7 display: flex;
6 flex-direction: column; 8 flex-direction: column;
7 background-color: white; 9 background-color: white;
8 } 10 }
9 </style> 11 </style>
10 <content></content> 12 <content></content>
11 </template> 13 </template>
12 <script> 14 <script>
13 SkyElement({ 15 module.exports = class extends SkyElement {
14 name: "app-panel" 16 }.register();
15 });
16 </script> 17 </script>
18 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/flights-app/app-menu-button.sky ('k') | sky/examples/flights-app/app-panel-content.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698