Hierarchy

  • GridLayout
    • Drawer

Constructors

  • Returns Drawer

Properties

animationFunction?: AnimationFunctionType
backDrop: View
backdropColor: Color
backDropEnabled: boolean
backdropProperties: {}
backdropTapGestureEnabled: boolean
bottomClosedDrawerAllowDraging: boolean
bottomDrawer?: View
bottomDrawerMode: any
bottomOpenedDrawerAllowDraging: boolean
bottomSwipeDistance: number
closeAnimationDuration: number
gestureEnabled: boolean
gestureHandlerOptions: any
gestureMinDist: number
gestureTag: number
leftClosedDrawerAllowDraging: boolean
leftDrawer?: View
leftDrawerMode: any
leftOpenedDrawerAllowDraging: boolean
leftSwipeDistance: number
mainContent: View
mViewByIdCache: {}
openAnimationDuration: number
panGestureHandler: PanGestureHandler
rightClosedDrawerAllowDraging: boolean
rightDrawer?: View
rightDrawerMode: any
rightOpenedDrawerAllowDraging: boolean
rightSwipeDistance: number
shouldPan?: (side: Side | VerticalSide) => boolean
shouldStartSheetDragging?: (side: Side | VerticalSide) => boolean
simultaneousHandlers: any[]
startingSide: Side | VerticalSide
topClosedDrawerAllowDraging: boolean
topDrawer?: View
topDrawerMode: any
topOpenedDrawerAllowDraging: boolean
topSwipeDistance: number
translationFunction?: TranslationFunctionType
waitFor: any[]

Methods

  • Returns void

  • Parameters

    Returns void

  • Parameters

    • oldValue: View
    • newValue: View

    Returns void

  • Adds the view to children array.

    Parameters

    • child: any

    Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    • event: EventData

    Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    • side: any
    • value: any

    Returns
        | TrData
        | {
            backDrop: {
                opacity: number;
                translateX: number;
                translateY?: undefined;
            };
            mainContent: { translateX: number; translateY?: undefined };
            [x: string]:
                | { opacity?: undefined; translateX: number }
                | { opacity: number; translateX: number };
        }
        | {
            backDrop: {
                opacity: number;
                translateX?: undefined;
                translateY?: undefined;
            };
            mainContent: { translateX?: undefined; translateY?: undefined };
            [x: string]:
                | { opacity?: undefined; translateX?: undefined }
                | { opacity?: undefined; translateX: any }
                | { opacity: number; translateX?: undefined };
        }
        | {
            backDrop: {
                opacity: number;
                translateX?: undefined;
                translateY: number;
            };
            mainContent: { translateX?: undefined; translateY: number };
            [x: string]:
                | { opacity?: undefined; translateY: any }
                | { opacity: number; translateY: number };
        }

  • Parameters

    • side: any
    • x: any

    Returns any

  • Parameters

    • side: any
    • y: any

    Returns any

  • Clean up references to the native view.

    Returns void

  • Returns "left" | "right" | "bottom" | "top"

  • Parameters

    • extraData: any

    Returns "left" | "right" | "bottom" | "top"

  • Returns void

  • Initializes properties/listeners of the native view.

    Returns void

  • Returns boolean

  • Parameters

    • event: EventData

    Returns void

  • Returns void

  • Parameters

    • args: GestureStateEventData

    Returns void

  • Parameters

    • args: GestureTouchEventData

    Returns void

  • Parameters

    • args: GestureStateEventData

    Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    • event: EventData

    Returns void

  • Parameters

    • data: any

    Returns any

  • Parameters

    • event: EventData

    Returns void

  • Parameters

    • state: GestureState

    Returns void

  • Parameters

    • side: any

    Returns void