Expand description
interface ModalSwipeConfig {
bounceOpacityThreshold?: number;
bounceSpringConfig?: SpringConfig;
directions?: SwipeDirection[];
enabled?: boolean;
threshold?: number;
}Properties§
§§§§§
bounce Opacity Threshold?: numberThreshold for backdrop opacity correction during bounce.
bounce Spring Config?: SpringConfigSpring config for bounce-back animation after failed swipe.
directions?: SwipeDirection[]Array of swipe directions that should close the modal.
enabled?: booleanWhether swipe gestures are enabled.
threshold?: numberDistance in pixels to trigger dismiss by swipe.
Configuration for modal swipe.