nativescript-ui-sidedrawer
Version:
Add additional space to your app. Use it for navigation or custom content. Slides in from all four sides of the screen.
58 lines (57 loc) • 2.35 kB
TypeScript
export * from './common';
import * as commonModule from './common';
import { View, Color } from '@nativescript/core';
export declare class RadSideDrawer extends commonModule.RadSideDrawer {
private _android;
private _mainContentNativeView;
private layoutChangeFunction;
private _androidViewId;
get _nativeView(): any;
private get _page();
onUnloaded(): void;
onBackPressed(): boolean;
_addViewToNativeVisualTree(child: View): boolean;
_removeViewFromNativeVisualTree(child: View): void;
private initDrawer;
createNativeView(): com.telerik.android.primitives.widget.sidedrawer.RadSideDrawer;
initNativeView(): void;
disposeNativeView(): void;
private onNavigatingFrom;
get android(): any;
protected _onGesturesEnabledChanged(oldValue: boolean, newValue: boolean): void;
protected _onAllowEdgeSwipeChanged(oldValue: boolean, newValue: boolean): void;
protected _onDrawerContentSizeChanged(oldValue: number, newValue: number): void;
protected _onDrawerTransitionChanged(oldValue: DrawerTransitionBase, newValue: DrawerTransitionBase): void;
protected _onShadowColorChanged(oldValue: Color, newValue: Color): void;
protected _onDrawerLocationChanged(oldValue: commonModule.SideDrawerLocation, newValue: commonModule.SideDrawerLocation): void;
private setDrawerLocation;
closeDrawer(): void;
showDrawer(): void;
}
export declare class DrawerTransitionBase implements commonModule.DrawerTransitionBase {
getNativeContent(): any;
}
export declare class FadeTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class PushTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class RevealTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class ReverseSlideOutTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class ScaleDownPusherTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class ScaleUpTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class SlideAlongTransition extends DrawerTransitionBase {
getNativeContent(): any;
}
export declare class SlideInOnTopTransition extends DrawerTransitionBase {
getNativeContent(): any;
}