We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9b8e6 commit 8a8436aCopy full SHA for 8a8436a
sync.js
@@ -30,7 +30,11 @@ export const LitSync = (baseElement) => class extends baseElement {
30
const notifyingEvent = eventName || eventNameForProperty(notifyingProperty);
31
32
notifyingElement.addEventListener(notifyingEvent, (e) => {
33
+ const oldValue = this[property];
34
this[property] = e.detail.value;
35
+ if (this.__lookupSetter__(property) === undefined) {
36
+ this.updated(new Map([[property, oldValue]]));
37
+ }
38
});
39
}
40
0 commit comments