aurelia/framework

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

Open

#714 ouverte le 12 févr. 2017

Voir sur GitHub
 (13 commentaires) (0 réactions) (0 assignés)TypeScript (671 forks)batch import
enhancementhelp wantedquestion

Métriques du dépôt

Stars
 (11 747 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur