A nice enhancement of the Preload extension would be to make it work on <form hx-get preload> elements.
For checkbox and radio inputs, the hx-get should be preloaded on mousedown and mouseover events on <label> and <input> elements. Preload should be done alternating form data as if the input, which user interacted with, was selected.
For select elements the hx-get should be preloaded on focus event. Preload should be done for all unselected options, alternating form data as if they were selected.
A nice enhancement of the Preload extension would be to make it work on
<form hx-get preload>
elements.checkbox
andradio
inputs, thehx-get
should be preloaded onmousedown
andmouseover
events on<label>
and<input>
elements. Preload should be done alternating form data as if the input, which user interacted with, was selected.select
elements thehx-get
should be preloaded onfocus
event. Preload should be done for all unselected options, alternating form data as if they were selected.