From 89b5eabae77773fef364586af3d04ff9736b9ead Mon Sep 17 00:00:00 2001 From: Norman Xu Date: Thu, 18 Dec 2014 16:37:01 +0000 Subject: [PATCH] update lifecycle 'inserted' to 'attached' --- source/guide/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/guide/components.md b/source/guide/components.md index a3cfd057c8..69e8545a95 100644 --- a/source/guide/components.md +++ b/source/guide/components.md @@ -237,7 +237,7 @@ This rule also applies to [content insertion](#Content_Insertion), as explained ## Component Lifecycle -Every component, or Vue instance, has its own lifecycle: it will be created, compiled, inserted or detached, and finally destroyed. At each of these key moments the instance will emit corresponding events, and when creating an instance or defining a component, we can pass in lifecycle hook functions to react to these events. For example: +Every component, or Vue instance, has its own lifecycle: it will be created, compiled, attached or detached, and finally destroyed. At each of these key moments the instance will emit corresponding events, and when creating an instance or defining a component, we can pass in lifecycle hook functions to react to these events. For example: ``` js var MyComponent = Vue.extend({