aurelia/framework

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

Open

#714 建立於 2017年2月12日

在 GitHub 查看
 (13 留言) (0 反應) (0 負責人)TypeScript (671 fork)batch import
enhancementhelp wantedquestion

倉庫指標

Star
 (11,747 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南