hotwire-django / turbo-django

Unmaintained // An early stage integration of Hotwire Turbo with Django
https://discuss.hotwire.dev/t/django-backend-support-for-hotwire/1570/
Other
385 stars 20 forks source link

add button click action example to documentation #63

Open nerdoc opened 2 years ago

nerdoc commented 2 years ago

like #13, it would be extremely helpful to add some more examples to the documentation, e.g. How to implement a simple <button> that does something in the backend and returns HTML. ATM there is only the <turbo-frame> with a form.

A great example would be adding a "delete" button to the messages, with an id etc.

Is this even possible without a form with turbo-django?