viewModel
Gets an element's View Model.
.viewModel()
Calls can-view-model with the unwrapped HTMLElement.
var vm = $("my-component").viewModel();
Gets an element's View Model.
.viewModel()
Calls can-view-model with the unwrapped HTMLElement.
var vm = $("my-component").viewModel();