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

Side by Side Diff: sky/examples/flights-app/app-panel-header.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-header">
2 <template> 4 <template>
3 <style> 5 <style>
4 :host { 6 :host {
5 background-color: #DEDEDE; 7 background-color: #DEDEDE;
6 padding: 8px; 8 padding: 8px;
7 display: flex; 9 display: flex;
8 align-items: center; 10 align-items: center;
9 } 11 }
10 </style> 12 </style>
11 <content></content> 13 <content></content>
12 </template> 14 </template>
13 <script> 15 <script>
14 SkyElement({ 16 module.exports = class extends SkyElement {
15 name: "app-panel-header" 17 }.register();
16 });
17 </script> 18 </script>
19 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/flights-app/app-panel-content.sky ('k') | sky/examples/flights-app/app-scrollable.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698