You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it change your first intention @MatsMoll? Or what was the intention of using scripts in the first place? Did you use scripts to accumulated it to the top? Did it work?
The text was updated successfully, but these errors were encountered:
The idea was the same yes! So I wanted to have it so that if a sub component relied on a script, it would be included somewhere in the top most node.
I do not remember why I had it as AnyContent, but I think it was so it could include logic like if's etc.
And it worked very well actually! It was a joy to stop caring about which scripts where needed for the different components when using it🙂
Hope this answered everything
The AnyContent protocol has a property scripts, wich has the type AnyContent. I would like to change it to a type of String.
My idea is if its a String, it can be accumulated to the top node (mostly the
Page
) where it can be used on the script element:Would it change your first intention @MatsMoll? Or what was the intention of using scripts in the first place? Did you use scripts to accumulated it to the top? Did it work?
The text was updated successfully, but these errors were encountered: