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

Unified Diff: sky/examples/flights-app/app-search-input.sky

Issue 980323003: Clean up examples directory (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/flights-app/app-scrollable.sky ('k') | sky/examples/flights-app/app-title.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/flights-app/app-search-input.sky
diff --git a/sky/examples/flights-app/app-search-input.sky b/sky/examples/flights-app/app-search-input.sky
deleted file mode 100644
index 32bc810f65874b9ea35acb0d05a12dfbbb3910f2..0000000000000000000000000000000000000000
--- a/sky/examples/flights-app/app-search-input.sky
+++ /dev/null
@@ -1,32 +0,0 @@
-<import src="../../framework/sky-element/sky-element.sky" as="SkyElement" />
-
-<sky-element name="app-search-input">
-<template>
- <style>
- :host {
- background-color: #F6F6F6;
- padding: 4px;
- display: flex;
- align-items: center;
- font-size: 1.2em;
- }
-
- .input-text {
- margin-left: 8px;
- }
- </style>
- <span class="input-icon">
- <img src="/sky/examples/flights/images/magnifying-glass.png" style="width: 16px">
- </span>
- <span class="input-text"><t>flights today to dc by price</t></span>
-</template>
-<script>
-module.exports = class extends SkyElement {
- attached() {
- var sel = window.getSelection();
- var input = this.shadowRoot.querySelector('t');
- sel.selectAllChildren(input);
- }
-}.register();
-</script>
-</sky-element>
« no previous file with comments | « sky/examples/flights-app/app-scrollable.sky ('k') | sky/examples/flights-app/app-title.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698