react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
18 lines • 992 B
TypeScript
import type IGestureHandler from '../handlers/IGestureHandler';
import { Config } from '../interfaces';
export default class InteractionManager {
private static _instance;
private readonly waitForRelations;
private readonly simultaneousRelations;
private readonly blocksHandlersRelations;
private constructor();
configureInteractions(handler: IGestureHandler, config: Config): void;
shouldWaitForHandlerFailure(handler: IGestureHandler, otherHandler: IGestureHandler): boolean;
shouldRecognizeSimultaneously(handler: IGestureHandler, otherHandler: IGestureHandler): boolean;
shouldRequireHandlerToWaitForFailure(handler: IGestureHandler, otherHandler: IGestureHandler): boolean;
shouldHandlerBeCancelledBy(_handler: IGestureHandler, otherHandler: IGestureHandler): boolean;
dropRelationsForHandlerWithTag(handlerTag: number): void;
reset(): void;
static get instance(): InteractionManager;
}
//# sourceMappingURL=InteractionManager.d.ts.map