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

Extend client-side JS commands to be usable outside of hooks #3515

Open
SteffenDE opened this issue Nov 18, 2024 · 0 comments
Open

Extend client-side JS commands to be usable outside of hooks #3515

SteffenDE opened this issue Nov 18, 2024 · 0 comments

Comments

@SteffenDE
Copy link
Collaborator

We have this.js() inside hooks that can be used to apply sticky commands to elements. To extend JS commands inside libraries, JS.dispatch() can be used, but there currently isn't a way to apply JS commands from the event handler. We should extend this, for example by having a liveSocket.js.show() etc.

cc @chrismccord

@SteffenDE SteffenDE changed the title Extend clientside JS commands to be usable outside of hooks Extend client-side JS commands to be usable outside of hooks Nov 18, 2024
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