aurelia / aurelia/framework

Is there a way to destroy aurelia manually? force it to trigger detached() in all components

Open
#714 13 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted question
Dominant language
TypeScript
Stars
11.7k
Forks
608
PR merge metrics
No merged PRs in 30d

Description

I manually deleted the root tag "

" by manipulating DOM directly, but found no detached() called in my custom-element.

I wonder if there is a way to destroy aurelia manually? for example, a api like aurelia.destroy() which will trigger detached() to be called in all components.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.