hx-pod

Lazarus
undefined
Apr 2, 2024 • 6min

Advanced htmx: hx-encoding

An amazingly simple file uploading form *with a progress bar* using htmx:<form id='form'       hx-encoding='multipart/form-data'       hx-post='/[where-you-want-post-it]'      hx-target='#target-div'>    <input type="hidden" name="_token" value="" />    <input type='file' name='file'>    <button>        Upload    </button>    <progress id='progress' value='0' max='100'></progress></form><script>    htmx.on('#form', 'htmx:xhr:progress', function(evt) {      htmx.find('#progress').setAttribute('value', evt.detail.loaded/evt.detail.total * 100)    });</script>
undefined
Mar 29, 2024 • 9min

Advanced htmx: hx-select-oob

What if you could "select" snippets out of your response and send them to anywhere on the page ("out-of-band") of the target?that's hx-select-oob Server traffic cop: hx-swap-oobClient traffic cop: hx-select-oob
undefined
Mar 25, 2024 • 23min

The css zen garden was a beautiful lie

Let's talk big ideas like Locality of Behavior vs. Separation of Concerns by relentlessly attacking one of the best websites ever created
undefined
Mar 23, 2024 • 5min

Advanced htmx: hx-request

Set the outer layer of settings of your request with THESE THREE OPTIONS
undefined
Mar 19, 2024 • 5min

Advanced htmx: hx-disable

Question: Do you want your users in the comment section to write htmx that runs on your site?If the answer is yes, please ignore this episode.
undefined
Mar 15, 2024 • 5min

Advanced htmx: hx-history

What if you don't want your page kept into the browser history local storage?
undefined
Mar 13, 2024 • 25min

What is htmx good for?

This is a somewhat open thought process looking at the question I see online: what is htmx good for?Mentioned in the episode: the htmx movies example from Andrew Rhyand:https://htmx.andrewrhyand.com/A great looking page with smooth animations and educational htmx content on it.
undefined
Mar 10, 2024 • 9min

Advanced htmx: hx-validate

Your browser has built in types and validation on inputs in a form. But what happens when you use inputs without a form??Note: I accidentally posted an incomplete episode at first, if you dont hear the end, try to re-download!
undefined
Mar 7, 2024 • 13min

A conversation with the CEO of htmx

undefined
Mar 6, 2024 • 5min

Advanced htmx: hx-headers

Every request has secret hidden headers. But what if you wanted to make your own?https://htmx.org/attributes/hx-headers/

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app