setViewModel

fun TtInformationControl.setViewModel(viewModel: TtInformationControlViewModel?)

Binds the given viewModel to a TtInformationControl. If viewModel is null, the contents of TtInformationControl will be cleared.