Ancestors

Toot

Written by Henry Bley-Vroman on 2025-01-22 at 19:46

New article: Adding front end interactivity to sites not written in JS

Introduces a pattern I've used to add JS interactivity without filling my markup with <script> tags and onclicks, then shows how a small refactor can turn that into Light DOM web components.

Applicable to many sites not using a JS framework, but written especially with the @eleventy and @craftcms communities in mind.

https://olets.dev/posts/adding-front-end-interactivity-to-sites-not-written-in-js/

[#]JS #SSG #eleventy #CraftCMS #WebComponents

=> More informations about this toot | More toots from olets@hachyderm.io

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113873727361613941
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
217.909319 milliseconds
Gemini-to-HTML Time
0.394213 milliseconds

This content has been proxied by September (ba2dc).