Ecodev/fab-speed-dial

How to open on hover

ubugnu opened this issue · 1 comments

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.

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"