Component Modal and Livewire #559
Unanswered
elasawilmar7
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble opening a modal using livewire component.
view:
public function openModalPasta()
{
$this->dispatch('openModalPastaJs');
}
window.addEventListener('openModalPastaJs', event => {
HSOverlay.open('#hs-basic-modal');
})
Beta Was this translation helpful? Give feedback.
All reactions