diff --git a/src/api/index.md b/src/api/index.md index 39249c2bd6..82bd64188c 100644 --- a/src/api/index.md +++ b/src/api/index.md @@ -1092,6 +1092,88 @@ type: api // -> "hi" ``` + One way of communicating with other components is establishing a lightweight event bus + attaching to the `vm.$root`. + + ```html + + + + + + + + + + + + + + + + + + + + ``` +

vm.$once( event, callback )

- **Arguments:**