Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

HTMX-like actions for turbo-django #71

Open
nerdoc opened this issue Jun 9, 2022 · 1 comment
Open

HTMX-like actions for turbo-django #71

nerdoc opened this issue Jun 9, 2022 · 1 comment

Comments

@nerdoc
Copy link
Contributor

nerdoc commented Jun 9, 2022

This is just a question/idea. I came across many frameworks in the last year, from sockpuppet to Unicorn and HTMX/Django.
one of the things all of them offer is that actions like triggering responses can be started from any HTML element, not just by forms/buttons and anchors. E.g. changing the value of a checkbox could trigger a frame reload. This is not conveniently possible with turbo-django - however, it could be done IMHO with stimulus - or something like alpine.js.

Is there any chance that this will be possible with turbo-django?

@scuml
Copy link
Contributor

scuml commented Sep 15, 2022

Interesting. Since it's not something the native Turbo library supports by default I don't see this fitting well into the Turbo Django library. You are correct it would be implemented with Stimulus if using the full Hotwire library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants