@nativescript-community/ui-material-ripple
Version:
The Material Design Ripple component provides a radial action in the form of a visual ripple expanding outward from the user's touch. Ripple is a visual form of feedback for touch events providing users a clear signal that an element is being touched.
10 lines (9 loc) • 485 B
TypeScript
import { RippleBase } from './ripple-common';
export declare class Ripple extends RippleBase {
nativeViewProtected: android.view.View;
ripple: android.graphics.drawable.RippleDrawable;
createNativeView(): globalAndroid.view.View;
rippleDrawable: android.graphics.drawable.Drawable;
getRippleColor(): any;
setRippleDrawable(view: android.view.View, topLeftRadius?: number, topRightRadius?: number, bottomRightRadius?: number, bottomLeftRadius?: number): void;
}