As an occasional custom element author myself, I always love reading others’ writeups of how they approached a problem. Here’s a nice step-by-step walkthrough of a calendar custom element called `<kal-el>` by Mads Stoumann: https://c.. class=”link” href=”https://t.co/zYL1ExOQA2” title=”https://toot.cafe/@tomayac/110017369442700131”>toot.cafe/@tomayac/11001β¦
Some sweet tricks with `<slot>` in the Declarative Shadow DOM space:
π enamel.pages.dev (View source and check the various slots. The server randomizes the ordering of the sections.)
π https://how-to-crash-a-b… class=”link” href=”https://t.co/Uqfxt1ES9A” title=”https://toot.cafe/@tomayac/110015208507434544”>toot.cafe/@tomayac/11001β¦
@andrewingram @lcasdev Both really neat hacks!
@simevidas @AMPhtml Here’s the Chrome bug: bugs.chromium.org/p/chromium/issβ¦.