Oh Dear..
Why does Selection.getComposedRanges() have MULTIPLE signatures:
- Safari: Selection.getComposedRanges(shadowRoot)
- Chrome: Selection.getComposedRanges({ shadowRoots: [shadowRoot] })
But hey, now its working in Chrome, Safari (+ iOS), and Firefox!
#webcomponents #litjs #webdeveloper
screw it, i'm finally gonna make a web component to make PWA Installs FEEL native.
#typescript #litjs #webcomponents
Tein tossa sunnuntai-iltana sen verran päheän minor-versiopäivityksen tohon mun harrasteprojektiin että oli ihan pakko opetella käyttämään ruudunnauhoitusta.
Oon kyllä iloisesti yllättynyt toolingin tilasta tässä ajassa.
#roolipelitaivas #roolipelit #astro #codemirror #litjs
Ahh yes a very fancy Step Progress bar. 🤠
#litjs #webcomponents #ui
It would be cool if #11ty (WebC) and #LitJS logic would be more similar.
Maybe even go could have a web component templating engine?!
Of course that would make separation harder.
Just pushed out the public beta of my #PbtA / #BitD style clock element!
cyan-design-system.netlify.app/addons/cn-st...
#webcomponents ftw! MIT Licensed, based on #litjs.
I just love the way #webcomponents simplify creating custom widgets.
My #BbtA / #BitD progress clock widget is in public alpha shape after just a couple of short coding sessions:
cyan-design-system.netlify.app/addons/cn-st...
#litjs #customelements #webdev #rpg
A screen capture of 3 different PbtA style Clocks.
I'm writing this #PbtA -style story clock for #storygames. It can be used as a form control or as a standalone custom element in HTML.
Now, I'm wondering if I could find some #RPG players or GMs who could help me get the user experience right.
#litjs #webcomponents #BitD
OH AND ALSO
#WebComponents are life, #React overcomplicates it soooo much
#LitJS FOR THE WIN
It's been a while! Time for a quick post about `slotchange` and checking the contents of slots in web components!
jschof.dev/posts/2024/8...
#webcomponents #litjs #slots