webtides / element-js

Simple and lightweight base classes for web components with a beautiful API
MIT License
28 stars 3 forks source link

[Bug] Template element losses update options #1

Closed eddyloewen closed 4 years ago

eddyloewen commented 4 years ago

update() { this.renderTemplate(); super.update(); }

vs.

update(options = { notify: true }) { this.registerEventsAndRefs(); if (options.notify === true) { this.triggerHook('afterUpdate'); } }