Ecodev / fab-speed-dial

Angular Material FAB speed dial
https://ecodev.github.io/fab-speed-dial
MIT License
89 stars 19 forks source link

Spinning rotates the entire button rather than just the icon #4

Closed Shane-E closed 6 years ago

Shane-E commented 6 years ago

I think the intention is to only have the icon spin for that setting, allowing the button to remain stationary and preventing it's drop shadow from rotating.

PowerKiKi commented 6 years ago

This would indeed be better. Please consider submitting a PR for that

sambaptista commented 6 years ago

Done with 2.0.0.

You need to add a class spin180 or spin360 on a specific element inside the trigger component. See demo template sources.