-
Notifications
You must be signed in to change notification settings - Fork 51
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
Possibility to choose the toggle event #18
Comments
Hi @The-BlackWidow , I've just created a new branch adding this feature. Since I'm still not 100% sure that this a good practice to modify the event listeners after the component's DOM is compiled I haven't merged to master yet.. Anyway, you can try it out, it's working fine :) Type in console:
Then you just have to add a new available prop called <fab
...
main-event-toggle="mouseover"
></fab> Let me know if that worked for you. |
I'm keeping this ticket opened to see if there are more people that would like this feature in a future release.. If so, we'll merge it :) 👍 Thumbs up? |
I found a workaround but I will gladly test this branch to give you feedback =) ! |
Cool! |
This is the error I get when compiling with Laravel mix. I am not able to find what is creating this error. Edit: alright found the issue babel/babel#6558. Now some feedback on how the current functionality works:
@The-BlackWidow could you share your way around this? |
Hi @DrowningElysium , Are you trying the above mentioned branch? or the latest release? Try to run this in the terminal: And then in your .babelrc (root directory) add this: {
"presets": [
["latest", { "modules": false }]
]
} let me know if that worked.. |
I used the branch mentioned above, but as I am using Laravel mix which should do all these things for me. I am not sure how to manage this. |
I will try to update the package to work with Run in you terminal: Create a .babelrc file in your project directory. and add this: {
"presets": [
["latest", { "modules": false }]
]
} Then try again. |
One better behaviour could be to open it on mouse over, but require a click to close it |
Hi !
I was wondering if you could maybe add the possibility to set toggle to true on mouseover ?
Thank you.
The text was updated successfully, but these errors were encountered: