Skip to content

Instantly share code, notes, and snippets.

@saarmstrong
Created August 5, 2014 04:51
Show Gist options
  • Save saarmstrong/354fea0e92ee9e00e722 to your computer and use it in GitHub Desktop.
Save saarmstrong/354fea0e92ee9e00e722 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element" attributes="elements">
<template>
<style>
#core_menu {
font-size: 16px;
left: 110px;
top: 40px;
position: absolute;
}
</style>
<core-menu selected="1" id="menu">
<core-submenu label="Palette" icon="settings" valueattr="name" id="core_submenu">
<core-item label="Save" size="24" id="core_item" horizontal center layout></core-item>
<core-item label="Cancel" size="24" id="core_item1" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</template>
<script>
Polymer('pl-cms', {
created: function () {
this.elements = [];
}
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment