Netflix / x-element

A dead simple starting point for custom elements.
Apache License 2.0
28 stars 12 forks source link

readOnly property initial value can't be set #42

Closed klebba closed 3 years ago

klebba commented 5 years ago
static get properties() {
    return {
      readOnlyProperty: {
        type: String,
        value: 'foo',
        readOnly: true,
      },
    };
  }

I would expect this to work — Polymer had this behavior so that you could configure constants that could be fed through the property pipeline