setViewModel

Binds the given viewModel to a TtButton.

NOTE: When binding the given viewModel to a TtButton, attributes already included in TtButtonViewModel, such as TtButton.ActionType, should not be subsequently re-assigned..