Home New Trending Search
About Privacy Terms
#
#litjs
Posts tagged #litjs on Bluesky
Video thumbnail

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

2 0 0 0

screw it, i'm finally gonna make a web component to make PWA Installs FEEL native.

#typescript #litjs #webcomponents

4 0 0 1
Post image

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

1 0 0 0
Video thumbnail

Ahh yes a very fancy Step Progress bar. 🤠

#litjs #webcomponents #ui

1 0 0 0

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.

0 0 1 0

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.

1 1 1 0

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

5 0 0 0
A screen capture of 3 different PbtA style Clocks.

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

2 0 1 0

OH AND ALSO

#WebComponents are life, #React overcomplicates it soooo much

#LitJS FOR THE WIN

2 0 2 0
Preview
Web Components and You (part 9): Handling empty slots - Jschof.dev Sometimes you want to check the contents of slots in the shadow DOM and conditionally do things based on what's in them. Can you do this with slots? Yes! It's a little strange though...

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

3 1 0 0