You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, I'm seeing this.published === undefined in keyChanged. I'd expect all of the element's properties to have their default values by the time keyChanged is called:
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
}
});
The text was updated successfully, but these errors were encountered:
In this example, I'm seeing
this.published === undefined
inkeyChanged
. I'd expect all of the element's properties to have their default values by the timekeyChanged
is called:The text was updated successfully, but these errors were encountered: