- Issue created by @mlncn
- π¨π¦Canada gappleAnywhere with an #attached, just like with libraries, sohook_page_attachments()is fine. The attached scripts are added to the page with library scripts - in the header or before the end of the body as configured on each item'sscopeattribute.Though as always, I will recommend using a proper library with a JavaScript file, and passing data via drupalSettings, rather than using inline scripts.
- Status changed to Fixedabout 1 year ago 11:57pm 31 July 2024
- Automatically closed - issue fixed for 2 weeks with no activity.