PLAY PODCASTS
The basics: hx-indicator and the special htmx loading classes
Season 1 · Episode 13

The basics: hx-indicator and the special htmx loading classes

hx-pod

February 6, 20247m 54s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Do you ever want to let the user know you are loading something?

Of course you do. Just add the htmx-indicator class to any element (loading div, svg, gif), and the parent requests will make it show up.

We discuss the magic you get for free in htmx and the way to customize it!

Topics

htmx javascript programming laravel livewire minimalism coding html simplicity