From ec05febebf5042c6e2c6ab5ce52bda51cfa625b2 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 17 Apr 2018 23:28:27 -0400 Subject: [PATCH] s9e127 dynamic component lifecycle hooks --- s9/src/components/New.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/s9/src/components/New.vue b/s9/src/components/New.vue index f07cb43..eda7f64 100644 --- a/s9/src/components/New.vue +++ b/s9/src/components/New.vue @@ -15,6 +15,12 @@ }, destroyed(){ console.log("destroyed") + }, + deactivated(){ + console.log("went away from new"); + }, + activated(){ + console.log("HI IM NEW"); } }