Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Htmx – high power tools for HTML. Parent comment
https://htmx.org/attributes/hx-swap-oob/
you can also select content by a selector:
https://htmx.org/attributes/hx-select/
and there is infrastructure for general response transformations via the extensions mechanism:
https://htmx.org/extensions/client-side-templates/
See the source code here:
https://unpkg.com/[email protected]/dist/ext/client-side-templa...
There are no comments on this comment yet.
https://htmx.org/attributes/hx-swap-oob/
you can also select content by a selector:
https://htmx.org/attributes/hx-select/
and there is infrastructure for general response transformations via the extensions mechanism:
https://htmx.org/extensions/client-side-templates/
See the source code here:
https://unpkg.com/[email protected]/dist/ext/client-side-templa...