Skip to content

Instantly share code, notes, and snippets.

@aliwaseem
Created December 9, 2014 10:33
Show Gist options
  • Save aliwaseem/94466fa1bd588a106c68 to your computer and use it in GitHub Desktop.
Save aliwaseem/94466fa1bd588a106c68 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: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
#core_item {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
</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