Skip to content

Instantly share code, notes, and snippets.

@mikomatic
Created July 3, 2014 10:04
Show Gist options
  • Select an option

  • Save mikomatic/29a6bcad18f68b6c27ee to your computer and use it in GitHub Desktop.

Select an option

Save mikomatic/29a6bcad18f68b6c27ee to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_field {
left: 700px;
top: 360px;
position: absolute;
}
#core_icon {
height: 24px;
width: 24px;
}
</style>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input placeholder="text input" id="core_input" flex></core-input>
</core-field>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment