aurelia/framework

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

Open

#714 aperta il 12 feb 2017

Vedi su GitHub
 (13 commenti) (0 reazioni) (0 assegnatari)TypeScript (671 fork)batch import
enhancementhelp wantedquestion

Metriche repository

Star
 (11.747 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor