hx-pod

The basics: hx-preserve


Listen Later

Updating a chunk of the DOM is easy --  but what if you wanted to leave one element alone?

Content preserved

Content will NOT be swapped out in the request, as long as the id in the request data matches.

https://htmx.org/attributes/hx-preserve/

...more
View all episodesView all episodes
Download on the App Store

hx-podBy Lazarus

  • 5
  • 5
  • 5
  • 5
  • 5

5

6 ratings