Skip to content
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

Feat: Make the HTMX object available in templates as a global context #27

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

devbijay
Copy link
Contributor

FIX: #26

sfermigier added a commit to abilian/flask-htmx-fork that referenced this pull request Nov 30, 2023
@edmondchuc
Copy link
Owner

@sponsfreixes any comments on this one?

@stfnx
Copy link
Contributor

stfnx commented Jul 25, 2024

Hey, may I ask why this isn't merged yet?

@edmondchuc
Copy link
Owner

I was waiting to see if @sponsfreixes would like to take a look and comment on anything. If not, I can merge this soon (within the week).

@stfnx do you have any use cases where you need access to the htmx object in the templates context? It'd be good to get some info on the use cases and add it to the docs.

@sponsfreixes
Copy link
Collaborator

Looks good to me! Maybe we should add a comment to the documentation so that users know it exists.

@devbijay devbijay closed this Jul 26, 2024
@devbijay devbijay reopened this Jul 26, 2024
@edmondchuc edmondchuc merged commit 712eb88 into edmondchuc:main Jul 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the HTMX object available in templates as a global context variable
4 participants