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

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

Powered by Google App Engine
This is Rietveld 408576698