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