From ffe90d470287bc50ee6a01ca98a3bd7aabc67c2d Mon Sep 17 00:00:00 2001 From: Miljan Date: Thu, 18 Jun 2015 17:04:06 +0200 Subject: [PATCH] update $remove arguments reference Additionally I have found in this example, http://vuejs.org/examples/firebase.html, app.users.$remove(user) where user seems an object. I'm not sure about that one as in the code I only see the callback and withTransition --- source/api/instance-methods.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/api/instance-methods.md b/source/api/instance-methods.md index 447db655ad..1814e800e4 100644 --- a/source/api/instance-methods.md +++ b/source/api/instance-methods.md @@ -190,9 +190,10 @@ Insert the vm's `$el` before target element. Insert the vm's `$el` after target element. -### vm.$remove( [callback] ) +### vm.$remove( [callback], withTransition ) - **callback** `Function` *optional* +- **withTransition** `Boolean` *optional* Remove the vm's `$el` from the DOM.