Skip to content

Instantly share code, notes, and snippets.

@tommie
Last active August 29, 2015 14:07
Show Gist options
  • Save tommie/28637661dafb409228b1 to your computer and use it in GitHub Desktop.
Save tommie/28637661dafb409228b1 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>
<my-menu-button icon="more-vert" selected="0" selectedindex="0" id="core_menu_button">
<p id="p" active>test</p>
<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>
</my-menu-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
<polymer-element name="my-menu-button" extends="core-menu-button">
<template>
<shadow></shadow>
</template>
<script>
Polymer({
closeAction: function() {}
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment