vm.$log( [keypath] )
-
Arguments:
{String} [keypath]
-
Usage:
Log the current instance data as a plain object, which is more inspection-friendly than a bunch of getter/setters. Also accepts an optional key.
12vm.$log()
// logs entire ViewModel data
vm.$log(
'item'
)
// logs vm.item
Please login to continue.