Create a gist now

Instantly share code, notes, and snippets.

Polymer ceci example
<polymer-element name="ceci-button" attributes="label"
extends="ceci-element" label="Click Me">
:host {
display: block;
width: 100%;
<button id="button" on-click="{{onClick}}">
Polymer('ceci-example', {
ready: function () {
onClick: function () {
ceci: {
defaultBroadcasts: ['click'],
broadcasts: {
click: 'Fired when button is clicked.'
listeners: {
setLabel: 'Set Label'
editable: {
'label': {
type: "text",
description: "Text shown on the button.",
name: 'Label'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment