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

How to open on hover #17

Closed
ubugnu opened this issue Jun 12, 2019 · 1 comment
Closed

How to open on hover #17

ubugnu opened this issue Jun 12, 2019 · 1 comment

Comments

@ubugnu
Copy link

ubugnu commented Jun 12, 2019

It seems that there is no doc on how to open speed dial on hover, nor on how to open it programatically.
We can find examples here https://github.com/Ecodev/fab-speed-dial/blob/master/src/app/app.component.html by it would be nice to have them on readme page.

@PowerKiKi
Copy link
Member

See the code of the demo and notice the use of mouseenter and mouseleave events:

<eco-fab-speed-dial #myFab [direction]="direction" [animationMode]="animationMode" [fixed]="fixed" (mouseenter)="myFab.open = true"

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