Vue.set( object, key, value )
-
Arguments:
{Object} object
{String} key
{*} value
-
Returns: the set value.
-
Usage:
Set a property on an object. If the object is reactive, ensure the property is created as a reactive property and trigger view updates. This is primarily used to get around the limitation that Vue cannot detect property additions.
-
See also: Reactivity in Depth
Please login to continue.