Doubt regarding the execution of scripts #5833
Ananthumpillai
started this conversation in
General
Replies: 1 comment 1 reply
-
Please follow the documentation on how to handle properly components with scripts. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On preview mode I am adding a header to my page, this is actually working, but the variable headerHtml is having some scripts, which controls the hamburger menu and all, but those scripts are not getting executed.
domComponents.addComponent(
{
tagName: "div",
content:
${headerHtml}<style>${headerCss}</style>
,},
{ at: 0 }
);
Beta Was this translation helpful? Give feedback.
All reactions