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

Side by Side Diff: sky/examples/flights-app/app-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
« no previous file with comments | « sky/examples/file-browser.sky ('k') | sky/examples/flights-app/app-menu-button.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-header">
2 <template> 4 <template>
3 <style> 5 <style>
4 :host { 6 :host {
5 display: flex; 7 display: flex;
6 background: linear-gradient(#3E77B7, #6C98C4); 8 background: linear-gradient(#3E77B7, #6C98C4);
7 padding: 8px; 9 padding: 8px;
8 color: white; 10 color: white;
9 border-bottom: 1px solid #3E77B7; 11 border-bottom: 1px solid #3E77B7;
10 } 12 }
11 </style> 13 </style>
12 <content></content> 14 <content></content>
13 </template> 15 </template>
14 <script> 16 <script>
15 SkyElement({ 17 module.exports = class extends SkyElement {
16 name: "app-header" 18 }.register();
17 });
18 </script> 19 </script>
20 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/file-browser.sky ('k') | sky/examples/flights-app/app-menu-button.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698