aurelia/framework
在 GitHub 查看Is there a way to destroy aurelia manually? force it to trigger detached() in all components
Open
#714 创建于 2017年2月12日
enhancementhelp wantedquestion
描述
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.