101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

504
active users

#customelement

0 posts0 participants0 posts today
Dave Copeland :ruby:<p><a href="https://ruby.social/tags/TIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TIL</span></a>, (and I cannot find documented), but can easily replicate is that when a <a href="https://ruby.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> <a href="https://ruby.social/tags/CustomElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CustomElement</span></a>'s `connectedCallback()` is called, `innerHTML` is undefined, UNLESS, you wait to define your custom element after DOMContentLoaded.</p><p>I wish there was a callback for a custom element that amounted to “the element has been loaded", but I can see that this doesn't necessarily make sense.</p><p>[Can't recreate in codepen since it runs all stuff after DOM loaded.]</p><p><a href="https://gist.github.com/davetron5000/255ff81851c18a220fa73b329cd8ed4d" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/davetron5000/2</span><span class="invisible">55ff81851c18a220fa73b329cd8ed4d</span></a></p>
Adrian Roselli<p>Remember that time I made a perfect YouTube and Vimeo web component that is progressively enhanced and accessible and nobody said anything about it proving that it is indeed perfect?</p><p>That was cool.</p><p><a href="https://adrianroselli.com/2024/06/youtube-and-vimeo-web-component.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">adrianroselli.com/2024/06/yout</span><span class="invisible">ube-and-vimeo-web-component.html</span></a></p><p><a href="https://toot.cafe/tags/a11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a11y</span></a> <a href="https://toot.cafe/tags/accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>accessibility</span></a> <a href="https://toot.cafe/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> <a href="https://toot.cafe/tags/CustomElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CustomElement</span></a></p>
westbrook<p>Through the conversation, I wondered whether the misunderstanding that a <a href="https://mastodon.social/tags/customElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customElement</span></a> directly correlates to a <a href="https://mastodon.social/tags/frameworkComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frameworkComponent</span></a> was eased or expanded with the theoretical advent of an HTML Module. Much of what we were seeing as <a href="https://mastodon.social/tags/htmlModules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmlModules</span></a> seemed more directly related to what we see in <a href="https://mastodon.social/tags/frameworkComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frameworkComponents</span></a>, which seems like an interesting path to investigate.</p><p>With <a href="https://mastodon.social/tags/domPart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>domPart</span></a> and HTML Modules, it it possible to recreate what we know now as a <a href="https://mastodon.social/tags/JSFramework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSFramework</span></a> in just HTML!?! 🤯</p>
westbrook<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@eleventy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>eleventy</span></a></span> That's a hot little <a href="https://mastodon.social/tags/customElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customElement</span></a>! And so useful/informative, too.</p><p>Exciting 🥳</p>
Renoir Boulanger<p><span class="h-card"><a href="https://mastodon.social/@leben" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>leben</span></a></span></p><p>I'm unsure why I have to make the CSS files to bleed both sides (shadowDom, and calling page), I'll learn about that eventually.</p><p>Also, its script[type=module] import. Different from past years. Exciting times!</p><p>Refer to source served from here: </p><p><a href="https://renoirb.com/esm-modules/app-layout-element.mjs" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">renoirb.com/esm-modules/app-la</span><span class="invisible">yout-element.mjs</span></a></p><p>I'm working on a fork of <span class="h-card"><a href="https://mastodon.social/@traceypooh" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>traceypooh</span></a></span> 's blogtini but using <a href="https://mastodon.social/tags/customElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customElement</span></a> and separating concerns. It's broken, in progress. Hope that helps you.</p><p>/cc <span class="h-card"><a href="https://front-end.social/@heydon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>heydon</span></a></span></p>
Renoir Boulanger<p>Hi <span class="h-card"><a href="https://mastodon.social/@leben" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>leben</span></a></span></p><p>Hi, sorry for interjecting.</p><p>I've been experimenting with bleeding StyleSheets for another purpose last week. In my case, separate the "chrome" (common layout of pages) into a <a href="https://mastodon.social/tags/customElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customElement</span></a> [1] <a href="https://mastodon.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a>, here is an usage example [2] look "view source", it's kinda neat!</p><p>Hope this helps.</p><p>1: <a href="https://renoirb.com/esm-modules/app-layout-element.mjs" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">renoirb.com/esm-modules/app-la</span><span class="invisible">yout-element.mjs</span></a><br>2: <a href="https://renoirb.github.io/blogtini/using-app-layout.html" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">renoirb.github.io/blogtini/usi</span><span class="invisible">ng-app-layout.html</span></a></p><p>/cc <span class="h-card"><a href="https://front-end.social/@heydon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>heydon</span></a></span></p>
westbrook<p><span class="h-card"><a href="https://front-end.social/@bramus" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>bramus</span></a></span> <span class="h-card"><a href="https://front-end.social/@mia" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mia</span></a></span> <span class="h-card"><a href="https://front-end.social/@Una" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Una</span></a></span> Blog post scale; short version: <a href="https://mastodon.social/tags/SpectrumWebComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SpectrumWebComponents</span></a> themes the system over single components, hoping to ship the smallest amount of JS for an app w/ many components, but it buys you into the system. Focusing on a the <a href="https://mastodon.social/tags/customElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customElement</span></a>, off loading CSS strings for Adopted Stylesheets to CSS files w/ Import Assertions means more styles can live w/ the components, while maintaining similar complexity &amp; helping prioritize single component usage, allowing to serve more user types.</p>
westbrook<p><span class="h-card"><a href="https://front-end.social/@mia" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mia</span></a></span> It is very possible that Container Style Queries are the CSS feature that I've been most excited about the last number of year, and it is super cool to see more examples come together leveraging them and nudging browsers tiny little steps closer to shipping! 🤩 Thanks for pushing this so hard for the rest of us. 🙏 Binding this with Import Assertions for CSS is gonna take <a href="https://mastodon.social/tags/developingDesignSystem" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>developingDesignSystem</span></a> with <a href="https://mastodon.social/tags/customElement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>customElement</span></a> and <a href="https://mastodon.social/tags/shadowDOM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shadowDOM</span></a> to a whole new level. 🔥</p>