Skip to content

Instantly share code, notes, and snippets.

@digu087
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digu087/25f002e96ff82a60ddd4 to your computer and use it in GitHub Desktop.
Save digu087/25f002e96ff82a60ddd4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
</style>
<div relative>
<core-icon-button icon="menu" id="trigger"></core-icon-button>
<core-dropdown relatedtarget="[object HTMLElement]">
<core-menu>
<core-item horizontal center layout>Cut</core-item>
<core-item horizontal center layout>Copy</core-item>
<core-item horizontal center layout>Paste</core-item>
</core-menu>
</core-dropdown>
</div>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment