flask-htmx icon indicating copy to clipboard operation
flask-htmx copied to clipboard

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

Open devbijay opened this issue 1 year ago • 1 comments

FIX: #26

devbijay avatar Aug 25 '23 15:08 devbijay

@sponsfreixes any comments on this one?

edmondchuc avatar Dec 16 '23 06:12 edmondchuc

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

stfnx avatar Jul 25 '24 07:07 stfnx

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.

edmondchuc avatar Jul 25 '24 07:07 edmondchuc

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

sponsfreixes avatar Jul 26 '24 02:07 sponsfreixes