apint-components
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "apint-components", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A component library for pragmatic, simple user interfaces.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -21,4 +21,6 @@ import { html, render } from 'lit-html'; | ||
attributeChangedCallback(name, oldValue, newValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
if (newValue !== oldValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
} | ||
} | ||
@@ -25,0 +27,0 @@ |
@@ -23,4 +23,6 @@ import { html, render } from 'lit-html'; | ||
attributeChangedCallback(name, oldValue, newValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
if (newValue !== oldValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
} | ||
} | ||
@@ -27,0 +29,0 @@ |
@@ -16,4 +16,6 @@ import { html, render } from 'lit-html'; | ||
attributeChangedCallback(name, oldValue, newValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
if (newValue !== oldValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
} | ||
} | ||
@@ -20,0 +22,0 @@ |
@@ -24,4 +24,6 @@ import { html, render } from 'lit-html'; | ||
attributeChangedCallback(name, oldValue, newValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
if (newValue !== oldValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
} | ||
} | ||
@@ -28,0 +30,0 @@ |
@@ -20,4 +20,6 @@ import { html, render } from 'lit-html'; | ||
attributeChangedCallback(name, oldValue, newValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
if (newValue !== oldValue) { | ||
this[name] = newValue; | ||
this.update(); | ||
} | ||
} | ||
@@ -24,0 +26,0 @@ |
793135
1018