Skip to content

Instantly share code, notes, and snippets.

@JohnsonChung
Created December 26, 2014 21:52
Show Gist options
  • Save JohnsonChung/23d27a8c704ee000a898 to your computer and use it in GitHub Desktop.
Save JohnsonChung/23d27a8c704ee000a898 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu_button {
left: 870px;
top: 320px;
position: absolute;
}
</style>
<core-menu-button id="core_menu_button" icon="more-vert" selected="0" relative>
<core-item id="core_item" icon="content-cut" label="Cut" horizontal center layout></core-item>
<core-item id="core_item1" icon="content-copy" label="Copy" horizontal center layout></core-item>
<core-item id="core_item2" icon="content-paste" label="Paste" horizontal center layout></core-item>
</core-menu-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment