attachViewModel

Parameters

viewModel

which will receive callbacks on user interactions.