aurelia/framework

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

Open

#714 aberto em 12 de fev. de 2017

Ver no GitHub
 (13 comments) (0 reactions) (0 assignees)TypeScript (671 forks)batch import
enhancementhelp wantedquestion

Métricas do repositório

Stars
 (11.747 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador