Appearance
vue-mvvm / core / useViewModel
function useViewModel<T>(cls): T;
Binds a ViewModel to the current View
T extends ViewModel
T
ViewModel
ViewModelConstructor<T>
ViewModelConstructor
The ViewModel that should be instantiated
A instance of the given ViewModel class