diff --git a/ignite-element.js b/ignite-element.js index 8f905e6..1dae032 100644 --- a/ignite-element.js +++ b/ignite-element.js @@ -171,7 +171,9 @@ class IgniteElement extends HTMLElement { * Sets all the property values on this element. */ setProperties(props) { - Object.keys(props).forEach(name => this[name] = props[name]); + if (props) { + Object.keys(props).forEach(name => this[name] = props[name]); + } } /**