All Questions
Tagged with initialize-script javascript
2 questions
0
votes
1
answer
326
views
Use cases for different JS init methods
I have read a number of ways to add JS files to a Magento 2 project, but I haven't seen anywhere where the benefits / best use-cases for each are explained.
The use-cases that are most relevant to my ...
0
votes
1
answer
782
views
How to create auto call javascript multiple function in magento 2 in single file
I create two js file for a task.
I want to merge two file task in one file in three function.
Both two have different config parameter.
I am using magento x init.
<script type="text/x-magento-init"...