diff --git a/src/v2/api/index.md b/src/v2/api/index.md index ea52090c40..4eceeebf2e 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -206,11 +206,11 @@ type: api - **See also:** [Async Update Queue](../guide/reactivity.html#Async-Update-Queue) -

Vue.set( object, key, value )

+

Vue.set( target, key, value )

- **Arguments:** - - `{Object} object` - - `{string} key` + - `{Object | Array} target` + - `{string | number} key` - `{any} value` - **Returns:** the set value. @@ -1277,11 +1277,11 @@ All lifecycle hooks automatically have their `this` context bound to the instanc // callback is fired immediately with current value of `a` ``` -

vm.$set( object, key, value )

+

vm.$set( target, key, value )

- **Arguments:** - - `{Object} object` - - `{string} key` + - `{Object | Array} target` + - `{string | number} key` - `{any} value` - **Returns:** the set value. @@ -1292,11 +1292,11 @@ All lifecycle hooks automatically have their `this` context bound to the instanc - **See also:** [Vue.set](#Vue-set) -

vm.$delete( object, key )

+

vm.$delete( target, key )

- **Arguments:** - - `{Object} object` - - `{string} key` + - `{Object | Array} target` + - `{string | number} key` - **Usage:**