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

Calling show on dialog from external component #3

Closed
weppami opened this issue Aug 3, 2020 · 2 comments
Closed

Calling show on dialog from external component #3

weppami opened this issue Aug 3, 2020 · 2 comments

Comments

@weppami
Copy link

weppami commented Aug 3, 2020

Hi, can you help with this :

I would like to call the dialog component from a livewire component that can pass value to alpine (i assume you're using it in your components), what is the value of x-data and x-show to use to trigger dialogs ?

Thanks and keep up the good work !!

@praveenjuge
Copy link
Owner

The current dialog component is written in vanilla js, but I am in the process of moving it to alpine.

I'll let you know when it's done.

@praveenjuge
Copy link
Owner

Finally moved all the components to alpine,

The dialog has x-data="dialog()" and x-show is done with open: false

Check out the examples in the documentation for more info: https://kutty.netlify.app/docs/dialog/

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