-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Turbo/HTMX script templatetag? #1762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Josh! I'm not sure. This is one of those integration processes that I'm not 100% on what would be the best for most developers. That said, it might be good for the toolbar to simply listen to that event and also log something to the console that it occurred. Then provide a way for it to be overridden (maybe via a template override or setting). |
I could imagine that having those functions by default would be useful for some users while being problematic for very few, since the events are namespaced and everything. If we were to ship them by default we should put them into a file of their own ( |
Not sure when this was added, but this section on working with htmx from the docs solved my problem. |
Thanks for catching that and cleaning this up! |
Would it be useful for debug toolbar to include the scripts from issue #1179 as a templatetag?
The text was updated successfully, but these errors were encountered: