Execute a javascript function from a component function. #135
Unanswered
chinoosniel
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @chinoosniel, can you give me some more information about what you are trying to do? Or maybe some sample HTML with an example? On my todo list I have adding some of the "Javascript Hooks" from https://laravel-livewire.com/docs/2.x/lifecycle-hooks and some JavaScript events similar to https://laravel-livewire.com/docs/2.x/events. However, I'm not positive that's what would help your use case. If I have more context, I might be able to prioritize a new feature that would help you out. Thanks! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to show some messages in some MODALs and I think the easiest way would be to call a javascript function like for example:
function ShowModalUserInfo() {
$('.modal-user-info').modal('show');
};
If there is another way to do it, I would appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions