Magento Exam
Exam
Question List
How to get viewModel in a template?
Answer:
$block->getViewModel()
Prepear for Magento 2 certefication with our interactive quiz