feat(fab-button): add hover state using tint colors (#18536)

- fixes a bug where backdrop filter was not applied on translucent buttons and checks for support first

references #17624
This commit is contained in:
Brandy Carney
2019-06-25 17:26:29 -04:00
committed by GitHub
parent 598a13ecc0
commit ad00679da9
9 changed files with 122 additions and 59 deletions

View File

@ -76,6 +76,8 @@ export class FabButton implements ComponentInterface, AnchorInterface, ButtonInt
/**
* If `true`, the fab button will be translucent.
* Only applies to `ios` mode on devices that support
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
*/
@Prop() translucent = false;