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

06/02/2024 7 min Temporada 1 Episodio 13
The basics: hx-indicator and the special htmx loading classes

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

Episode Synopsis


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!