Skip to content

Re-execute js? #70

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

Closed
liamka opened this issue Nov 3, 2021 · 1 comment
Closed

Re-execute js? #70

liamka opened this issue Nov 3, 2021 · 1 comment

Comments

@liamka
Copy link

liamka commented Nov 3, 2021

If my fragment have JS code
How re-execute him?

@keithamus
Copy link
Contributor

This is not possible with this component, and it is not the intended behaviour. The element replaces itself with the contents fetched; designed to lazily fetch HTML contents. You might want to look at [turbo-frame][https://turbo.hotwired.dev/handbook/frames) instead which is designed to repeatedly reapply HTML from a server.

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

2 participants