Polymer({
is: 'google-sheets',
properties: {
key: {
type: String,
value: '',
observer: 'keyChanged'
},
published: {
type: Boolean,
value: false
}
},
keyChanged: function(newValue, oldValue) {
//this.published === undefined when the element loads
}
});
In this example, I'm seeing
this.published === undefinedinkeyChanged. I'd expect all of the element's properties to have their default values by the timekeyChangedis called: