@nativescript-community/gesturehandler
Version:
Declarative API exposing platform native touch and gesture system to NativeScript.
31 lines (29 loc) • 1.3 kB
TypeScript
/* eslint-disable @typescript-eslint/no-unnecessary-qualifier */
declare namespace com {
export namespace nativescript {
export namespace gesturehandler {
class GestureHandlerInteractionController extends com.swmansion.gesturehandler.GestureHandlerInteractionController {
configureInteractions(handler: com.swmansion.gesturehandler.GestureHandler<any>, waitFor: number[], simultaneousHandlers: number[]);
}
class RootViewGestureHandler extends com.swmansion.gesturehandler.GestureHandler<RootViewGestureHandler> {}
class PageLayout extends org.nativescript.widgets.GridLayout {
constructor(context, rootGestureTag);
initialize();
tearDown();
registry(): com.swmansion.gesturehandler.GestureHandlerRegistryImpl;
getRootGestureTag(): number;
}
}
}
}
// TODO: to be removed once @nativescript/types-android is fixed https://github.com/NativeScript/NativeScript/pull/10791
declare namespace org {
namespace nativescript {
namespace widgets {
interface GridLayout {
addRow(itemSpec: ItemSpec): void;
addColumn(itemSpec: ItemSpec): void;
}
}
}
}