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

path-deps delimiter for multiple urls #2502

Open
thenewguy opened this issue Apr 23, 2024 · 0 comments
Open

path-deps delimiter for multiple urls #2502

thenewguy opened this issue Apr 23, 2024 · 0 comments

Comments

@thenewguy
Copy link

I searched but wasn't able to find the delimiter to use for specifying multiple path-deps. I tried space and comma. Is it possible to watch multiple paths?

I tried this:

<div 
	hx-get="/endpoint"
	hx-trigger="load, path-deps"
	path-deps="/watch/1 /watch/2"
	hx-ext="client-side-templates"
	mustache-template="the-template"
></div>

and this:

<div 
	hx-get="/endpoint"
	hx-trigger="load, path-deps"
	path-deps="/watch/1, /watch/2"
	hx-ext="client-side-templates"
	mustache-template="the-template"
></div>
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

No branches or pull requests

1 participant