Magento 2
How to pass parameters from *.phtml to a JavaScript component using x-magento-init
Development
phtml
,
x-magento-init
,
javascript
dmitrii_fediuk
(Dmitrii Fediuk)
December 28, 2015, 1:33pm
3
See also:
How to add JavaScript / CSS / Less with a custom module
How to load JavaScript or stylesheet conditionally depends on backend config settings
How to insert some JavaScript to a *.phtml template in the proper way (x-magento-init)
show post in topic