Aurelia.enhance() & 😎

Just how it reads…
After you call Aurelia.enhanceAndWatch() not only the currently existing custom elements will be enhanced… but those that will be added to the page in runtime will be enhanced as well.
Also… for those that are removed the detach cycle will be called as well.

Finally got my hands on a long overdue plugin. Was written back in 2019.
Now it’s a package and a repo.

2 Likes