mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
feat(ripple): adds unbounded ripple-effect (#16399)
This commit is contained in:
11
core/src/components.d.ts
vendored
11
core/src/components.d.ts
vendored
@ -3543,8 +3543,17 @@ export namespace Components {
|
||||
* Adds the ripple effect to the parent element
|
||||
*/
|
||||
'addRipple': (pageX: number, pageY: number) => Promise<() => void>;
|
||||
/**
|
||||
* Sets the type of ripple-effect: - `bounded`: the ripple effect expands from the user's click position - `unbounded`: the ripple effect expands from the center of the button and overflows the container. NOTE: Surfaces for bounded ripples should have the overflow property set to hidden, while surfaces for unbounded ripples should have it set to visible.
|
||||
*/
|
||||
'type': 'bounded' | 'unbounded';
|
||||
}
|
||||
interface IonRippleEffectAttributes extends StencilHTMLAttributes {
|
||||
/**
|
||||
* Sets the type of ripple-effect: - `bounded`: the ripple effect expands from the user's click position - `unbounded`: the ripple effect expands from the center of the button and overflows the container. NOTE: Surfaces for bounded ripples should have the overflow property set to hidden, while surfaces for unbounded ripples should have it set to visible.
|
||||
*/
|
||||
'type'?: 'bounded' | 'unbounded';
|
||||
}
|
||||
interface IonRippleEffectAttributes extends StencilHTMLAttributes {}
|
||||
|
||||
interface IonRouteRedirect {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user