Created
July 10, 2014 20:03
-
-
Save kaleb/df85c4702f8653f64531 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="kzh-typeahead"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#paper_input { | |
left: 290px; | |
top: 220px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 280px; | |
top: 290px; | |
position: absolute; | |
} | |
#core_submenu { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
<paper-input label="Type something..." id="paper_input"></paper-input> | |
<core-menu selected="1" selectedindex="1" id="core_menu"> | |
<core-submenu label="Topics" icon="settings" id="core_submenu"> | |
<core-item label="Topic 1" id="core_item" horizontal center layout></core-item> | |
<core-item label="Topic 2" id="core_item1" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu active label="Favorites" icon="settings" id="core_submenu1"> | |
<core-item label="Favorite 1" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Favorite 2" id="core_item3" horizontal center layout></core-item> | |
<core-item label="Favorite 3" id="core_item4" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</template> | |
<script> | |
Polymer('kzh-typeahead', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment