Magento 2 Certification Questions List | How to get viewMode?

How to get viewModel in a template?