Questions tagged [defer-js]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
95 views

How to update grandtotal using knockout JS in Magento 2 checkout page

I've added a text field where customers can enter a coupon code. When click the "Apply Coupon" button, I am fetching the value of the coupon. I want to use this coupon value to adjust the ...
manoj kumar's user avatar
1 vote
0 answers
485 views

Magento 2 - How to defer Recaptcha

I would like to add "defer" to this script line: <script type="text/javascript" async="" src="https://www.gstatic.com/recaptcha/releases/CdDdhZfPbLLrfYLBdThNS0-Y/...
Ronny's user avatar
  • 433
0 votes
0 answers
212 views

How to defer CSS via layout xml?

I'm trying to defer a CSS file through default_head_blocks.xml. After reading through as much as possible on here - and across the internet - I came across an answer suggesting to add defer="...
Terence Patane-Ronan's user avatar
0 votes
1 answer
94 views

How can I add critical JS on Magento 2.3.3?

Magento 2.3.3 has "Move JS code to the bottom of the page" function which moves all JS code to bottom of the page. I need some JS code(Seal Verification Code which showing verification icon) not ...
Pejman Sufer's user avatar