From 8366aee6d757e8f485de798bb33b26f6829e79d6 Mon Sep 17 00:00:00 2001 From: CHO Date: Wed, 16 Aug 2017 13:01:05 +0900 Subject: [PATCH] fix $off arguments description add description about array since it is supported in v2.2.2+ accepted pull request: #5056 source code (v2.2.2); https://github.com/vuejs/vue/blob/v2.2.2/src/core/instance/events.js#L69 --- src/v2/api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/api/index.md b/src/v2/api/index.md index 70ddcf7919..622b01122b 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -1451,7 +1451,7 @@ if (version === 2) {

vm.$off( [event, callback] )

- **Arguments:** - - `{string} [event]` + - `{string | Array} event` (array only supported in 2.2.2+) - `{Function} [callback]` - **Usage:**