array.$set(index, value)
-
Arguments
{Number} index
{*} value
-
Usage
Set an element in the array to a value by index and trigger view updates.
vm.animals.$set(0, { name: 'Aardvark' })
-
See also: Array Detection Caveats
array.$set(index, value)
Arguments
{Number} index
{*} value
Usage
Set an element in the array to a value by index and trigger view updates.
vm.animals.$set(0, { name: 'Aardvark' })
See also: Array Detection Caveats
Please login to continue.