Script API should have an option to be placed in the head or body #36208
Replies: 2 comments 1 reply
-
Hi @shalawfatah, thanks for the suggestion!
You can use
What's your use case? It would be good to know if it's something that you can't achieve with the current set of APIs (or the regular In terms of adding an option to the Hope this is useful and thanks again for the suggestion! |
Beta Was this translation helpful? Give feedback.
-
@edison-burnkit One of the things that worked for me (without using external libs) is placing the script tags in |
Beta Was this translation helpful? Give feedback.
-
As of now, the
<Script>
tag produces a<script>
inside thebody
. However, it will be a good feature if there is an option whether to move the tag to thehead
of the document or thebody
. I think with the newHead API
, this could be easily resolved, but I have not seen anything in the Head API to say that it accepts the <Script> tag.Beta Was this translation helpful? Give feedback.
All reactions