Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadSideDrawer

Hierarchy

  • View

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns RadSideDrawer

Properties

Private _automaticallyAdjustsScrollViewInsets

_automaticallyAdjustsScrollViewInsets: boolean

_context

_context: any

_cssState

_cssState: any

Private _currentHeightMeasureSpec

_currentHeightMeasureSpec: number

Private _currentWidthMeasureSpec

_currentWidthMeasureSpec: number

Private _defaultPaddingBottom

_defaultPaddingBottom: number

Private _defaultPaddingLeft

_defaultPaddingLeft: number

Private _defaultPaddingRight

_defaultPaddingRight: number

Private _defaultPaddingTop

_defaultPaddingTop: number

_domId

_domId: number

Private _gestureObservers

_gestureObservers: any

Private _ignoreFlexMinWidthHeightReset

_ignoreFlexMinWidthHeightReset: boolean

_isAddedToNativeVisualTree

_isAddedToNativeVisualTree: boolean

Private _isPaddingRelative

_isPaddingRelative: boolean

Private _isStyleScopeHost

_isStyleScopeHost: boolean

Private _isViewBase

_isViewBase: boolean

Private _manager

_manager: any

Optional Private _modalParent

_modalParent: View

Optional Private _moduleName

_moduleName: string

Private _oldBottom

_oldBottom: number

Private _oldLeft

_oldLeft: number

Private _oldRight

_oldRight: number

Private _oldTop

_oldTop: number

_styleScope

_styleScope: any

_suspendNativeUpdatesCount

_suspendNativeUpdatesCount: number

Private _suspendedUpdates

_suspendedUpdates: object

Type declaration

  • [propertyName: string]: Property<any, any> | CssProperty<Style, any> | CssAnimationProperty<Style, any>

alignSelf

alignSelf: AlignSelf

allowEdgeSwipe

allowEdgeSwipe: boolean

android

android: any

androidDynamicElevationOffset

androidDynamicElevationOffset: number

androidElevation

androidElevation: number

automationText

automationText: string

background

background: string

backgroundColor

backgroundColor: string | Color

backgroundImage

backgroundImage: string | LinearGradient

bindingContext

bindingContext: any

borderBottomColor

borderBottomColor: Color

borderBottomLeftRadius

borderBottomLeftRadius: Length

borderBottomRightRadius

borderBottomRightRadius: Length

borderBottomWidth

borderBottomWidth: Length

borderColor

borderColor: string | Color

borderLeftColor

borderLeftColor: Color

borderLeftWidth

borderLeftWidth: Length

borderRadius

borderRadius: string | Length

borderRightColor

borderRightColor: Color

borderRightWidth

borderRightWidth: Length

borderTopColor

borderTopColor: Color

borderTopLeftRadius

borderTopLeftRadius: Length

borderTopRightRadius

borderTopRightRadius: Length

borderTopWidth

borderTopWidth: Length

borderWidth

borderWidth: string | Length

className

className: string

col

col: number

colSpan

colSpan: number

color

color: Color

column

column: number

columnSpan

columnSpan: number

Private css

css: string

cssClasses

cssClasses: Set<string>

cssPseudoClasses

cssPseudoClasses: Set<string>

cssType

cssType: string

dock

dock: "left" | "top" | "right" | "bottom"

domNode

domNode: DOMNode

drawerContent

drawerContent: View

drawerContentSize

drawerContentSize: number

drawerLocation

drawerLocation: SideDrawerLocation

drawerTransition

drawerTransition: DrawerTransitionBase

effectiveBorderBottomWidth

effectiveBorderBottomWidth: number

effectiveBorderLeftWidth

effectiveBorderLeftWidth: number

effectiveBorderRightWidth

effectiveBorderRightWidth: number

effectiveBorderTopWidth

effectiveBorderTopWidth: number

effectiveHeight

effectiveHeight: number

effectiveLeft

effectiveLeft: number

effectiveMarginBottom

effectiveMarginBottom: number

effectiveMarginLeft

effectiveMarginLeft: number

effectiveMarginRight

effectiveMarginRight: number

effectiveMarginTop

effectiveMarginTop: number

effectiveMinHeight

effectiveMinHeight: number

effectiveMinWidth

effectiveMinWidth: number

effectivePaddingBottom

effectivePaddingBottom: number

effectivePaddingLeft

effectivePaddingLeft: number

effectivePaddingRight

effectivePaddingRight: number

effectivePaddingTop

effectivePaddingTop: number

effectiveTop

effectiveTop: number

effectiveWidth

effectiveWidth: number

flexGrow

flexGrow: FlexGrow

flexShrink

flexShrink: FlexShrink

flexWrapBefore

flexWrapBefore: FlexWrapBefore

gesturesEnabled

gesturesEnabled: boolean

height

height: PercentLength

horizontalAlignment

horizontalAlignment: HorizontalAlignment

id

id: string

ios

ios: any

iosOverflowSafeArea

iosOverflowSafeArea: boolean

iosOverflowSafeAreaEnabled

iosOverflowSafeAreaEnabled: boolean

isCollapsed

isCollapsed: boolean

isEnabled

isEnabled: boolean

Private isLayoutRequired

isLayoutRequired: boolean

isLayoutValid

isLayoutValid: boolean

isLoaded

isLoaded: boolean

isUserInteractionEnabled

isUserInteractionEnabled: boolean

left

left: Length

mainContent

mainContent: View

margin

margin: string | PercentLength

marginBottom

marginBottom: PercentLength

marginLeft

marginLeft: PercentLength

marginRight

marginRight: PercentLength

marginTop

marginTop: PercentLength

minHeight

minHeight: Length

minWidth

minWidth: Length

modal

modal: View

nativeView

nativeView: any

nativeViewProtected

nativeViewProtected: any

opacity

opacity: number

order

order: Order

originX

originX: number

originY

originY: number

page

page: Page

parent

parent: ViewBase

parentNode

parentNode: ViewBase

perspective

perspective: number

recycleNativeView

recycleNativeView: "always" | "never" | "auto"

rotate

rotate: number

rotateX

rotateX: number

rotateY

rotateY: number

row

row: number

rowSpan

rowSpan: number

scaleX

scaleX: number

scaleY

scaleY: number

shadowColor

shadowColor: Color

style

style: Style

top

top: Length

translateX

translateX: dip

translateY

translateY: dip

typeName

typeName: string

verticalAlignment

verticalAlignment: VerticalAlignment

viewController

viewController: any

visibility

visibility: Visibility

width

width: PercentLength

Static drawerClosedEvent

drawerClosedEvent: string

Static drawerClosingEvent

drawerClosingEvent: string

Static drawerContentProperty

drawerContentProperty: Property<RadSideDrawer, View>

Static drawerContentSizeProperty

drawerContentSizeProperty: Property<RadSideDrawer, number>

Static drawerLocationProperty

drawerLocationProperty: Property<RadSideDrawer, SideDrawerLocation>

Static drawerOpenedEvent

drawerOpenedEvent: string

Static drawerOpeningEvent

drawerOpeningEvent: string

Static drawerPanEvent

drawerPanEvent: string

Static drawerTransitionProperty

drawerTransitionProperty: Property<RadSideDrawer, DrawerTransitionBase>

Static gesturesEnabledProperty

gesturesEnabledProperty: Property<RadSideDrawer, boolean>

Static layoutChangedEvent

layoutChangedEvent: string

Static loadedEvent

loadedEvent: string

Static mainContentProperty

mainContentProperty: Property<RadSideDrawer, View>

Static propertyChangeEvent

propertyChangeEvent: string

Static shadowColorProperty

shadowColorProperty: Property<RadSideDrawer, Color>

Static showingModallyEvent

showingModallyEvent: string

Static shownModallyEvent

shownModallyEvent: string

Static unloadedEvent

unloadedEvent: string

Methods

_addView

  • _addView(view: ViewBase, atIndex: number): void
  • Parameters

    • view: ViewBase
    • Optional atIndex: number

    Returns void

_addViewCore

  • _addViewCore(view: ViewBase, atIndex: number): void
  • Parameters

    • view: ViewBase
    • Optional atIndex: number

    Returns void

_addViewToNativeVisualTree

  • _addViewToNativeVisualTree(view: ViewBase, atIndex: number): boolean
  • Parameters

    • view: ViewBase
    • Optional atIndex: number

    Returns boolean

_batchUpdate

  • _batchUpdate<T>(callback: function): T
  • Type parameters

    • T

    Parameters

    • callback: function
        • (): T
        • Returns T

    Returns T

_childIndexToNativeChildIndex

  • _childIndexToNativeChildIndex(index: number): number
  • Parameters

    • Optional index: number

    Returns number

_closeAllModalViewsInternal

  • _closeAllModalViewsInternal(): boolean
  • Returns boolean

_createPropertyChangeData

  • _createPropertyChangeData(name: string, value: any, oldValue: any): PropertyChangeData
  • Parameters

    • name: string
    • value: any
    • Optional oldValue: any

    Returns PropertyChangeData

_dialogClosed

  • _dialogClosed(): void
  • Returns void

_eachLayoutView

  • _eachLayoutView(callback: function): void
  • Parameters

    • callback: function
        • (View: any): void
        • Parameters

          • View: any

          Returns void

    Returns void

_emit

  • _emit(eventNames: string): any
  • Parameters

    • eventNames: string

    Returns any

Private _getCurrentLayoutBounds

  • _getCurrentLayoutBounds(): object
  • Returns object

    • bottom: number
    • left: number
    • right: number
    • top: number

Private _getFragmentManager

  • _getFragmentManager(): any
  • Returns any

_getNativeViewsCount

  • _getNativeViewsCount(): number
  • Returns number

_getRootModalViews

  • _getRootModalViews(): Array<ViewBase>
  • Returns Array<ViewBase>

_getValue

  • _getValue(property: any): never
  • Parameters

    • property: any

    Returns never

Private _goToVisualState

  • _goToVisualState(state: string): any
  • Parameters

    • state: string

    Returns any

_handleLivesync

  • _handleLivesync(context: object): boolean
  • Parameters

    • Optional context: object
      • path: string
      • type: string

    Returns boolean

_hasAncestorView

  • _hasAncestorView(ancestorView: View): boolean
  • Parameters

    • ancestorView: View

    Returns boolean

Private _inheritStyleScope

  • _inheritStyleScope(styleScope: any): void
  • Parameters

    • styleScope: any

    Returns void

Private _layoutParent

  • _layoutParent(): void
  • Returns void

_onAttachedToWindow

  • _onAttachedToWindow(): void
  • Returns void

Private _onCssStateChange

  • _onCssStateChange(): void
  • Returns void

_onDetachedFromWindow

  • _onDetachedFromWindow(): void
  • Returns void

Private _onLivesync

  • _onLivesync(context: object): boolean
  • Parameters

    • Optional context: object
      • path: string
      • type: string

    Returns boolean

_onRootViewReset

  • _onRootViewReset(): void
  • Returns void

Optional _onSizeChanged

  • _onSizeChanged(): void
  • Returns void

_parentChanged

  • _parentChanged(oldParent: ViewBase): void
  • Parameters

    • oldParent: ViewBase

    Returns void

Private _redrawNativeBackground

  • _redrawNativeBackground(value: any): void
  • Parameters

    • value: any

    Returns void

Private _removeAnimation

  • _removeAnimation(animation: Animation): boolean
  • Parameters

    • animation: Animation

    Returns boolean

_removeView

  • _removeView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

_removeViewCore

  • _removeViewCore(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

_removeViewFromNativeVisualTree

  • _removeViewFromNativeVisualTree(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

Private _setCurrentLayoutBounds

  • _setCurrentLayoutBounds(left: number, top: number, right: number, bottom: number): object
  • Parameters

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns object

    • boundsChanged: boolean
    • sizeChanged: boolean

Private _setCurrentMeasureSpecs

  • _setCurrentMeasureSpecs(widthMeasureSpec: number, heightMeasureSpec: number): boolean
  • Parameters

    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns boolean

Private _setMinHeightNative

  • _setMinHeightNative(value: Length): void
  • Parameters

    • value: Length

    Returns void

Private _setMinWidthNative

  • _setMinWidthNative(value: Length): void
  • Parameters

    • value: Length

    Returns void

Private _setNativeClipToBounds

  • _setNativeClipToBounds(): void
  • Returns void

Private _setNativeViewFrame

  • _setNativeViewFrame(nativeView: any, frame: any): void
  • Parameters

    • nativeView: any
    • frame: any

    Returns void

_setValue

  • _setValue(property: any, value: any): never
  • Parameters

    • property: any
    • value: any

    Returns never

Private _setupAsRootView

  • _setupAsRootView(context: any): void
  • Parameters

    • context: any

    Returns void

_setupUI

  • _setupUI(context: any, atIndex: number): void
  • Parameters

    • context: any
    • Optional atIndex: number

    Returns void

_shouldDelayLayout

  • _shouldDelayLayout(): boolean
  • Returns boolean

_tearDownUI

  • _tearDownUI(force: boolean): void
  • Parameters

    • Optional force: boolean

    Returns void

Private _updateEffectiveLayoutValues

  • _updateEffectiveLayoutValues(parentWidthMeasureSize: number, parentWidthMeasureMode: number, parentHeightMeasureSize: number, parentHeightMeasureMode: number): void
  • Parameters

    • parentWidthMeasureSize: number
    • parentWidthMeasureMode: number
    • parentHeightMeasureSize: number
    • parentHeightMeasureMode: number

    Returns void

_updateStyleScope

  • _updateStyleScope(cssFileName: string, cssString: string, css: string): void
  • Parameters

    • Optional cssFileName: string
    • Optional cssString: string
    • Optional css: string

    Returns void

Private addCss

  • addCss(cssString: string): void
  • Parameters

    • cssString: string

    Returns void

Private addCssFile

  • addCssFile(cssFileName: string): void
  • Parameters

    • cssFileName: string

    Returns void

addEventListener

  • addEventListener(eventNames: string, callback: function, thisArg: any): any
  • Parameters

    • eventNames: string
    • callback: function
        • (data: EventData): void
        • Parameters

          • data: EventData

          Returns void

    • Optional thisArg: any

    Returns any

Protected addPseudoClass

  • addPseudoClass(name: string): void
  • Parameters

    • name: string

    Returns void

animate

  • animate(options: AnimationDefinition): AnimationPromise
  • Parameters

    • options: AnimationDefinition

    Returns AnimationPromise

bind

  • bind(options: BindingOptions, source: Object): void
  • Parameters

    • options: BindingOptions
    • Optional source: Object

    Returns void

Private callLoaded

  • callLoaded(): void
  • Returns void

Private callUnloaded

  • callUnloaded(): void
  • Returns void

Private changeCssFile

  • changeCssFile(cssFileName: string): void
  • Parameters

    • cssFileName: string

    Returns void

closeDrawer

  • closeDrawer(): void
  • Returns void

closeModal

  • closeModal(context: any): void
  • Parameters

    • Optional context: any

    Returns void

createAnimation

  • createAnimation(options: AnimationDefinition): Animation
  • Parameters

    • options: AnimationDefinition

    Returns Animation

createNativeView

  • createNativeView(): Object
  • Returns Object

Protected deletePseudoClass

  • deletePseudoClass(name: string): void
  • Parameters

    • name: string

    Returns void

disposeNativeView

  • disposeNativeView(): void
  • Returns void

eachChild

  • eachChild(callback: function): void
  • Parameters

    • callback: function
        • (child: ViewBase): boolean
        • Parameters

          • child: ViewBase

          Returns boolean

    Returns void

eachChildView

  • eachChildView(callback: function): void
  • Parameters

    • callback: function
        • (view: View): boolean
        • Parameters

          • view: View

          Returns boolean

    Returns void

ensureDomNode

  • ensureDomNode(): any
  • Returns any

focus

  • focus(): boolean
  • Returns boolean

get

  • get(name: string): any
  • Parameters

    • name: string

    Returns any

getActualSize

  • getActualSize(): Size
  • Returns Size

getGestureObservers

  • getGestureObservers(type: GestureTypes): Array<GesturesObserver>
  • Parameters

    • type: GestureTypes

    Returns Array<GesturesObserver>

getIsOpen

  • getIsOpen(): boolean
  • Returns boolean

getLocationInWindow

  • getLocationInWindow(): Point
  • Returns Point

getLocationOnScreen

  • getLocationOnScreen(): Point
  • Returns Point

getLocationRelativeTo

  • getLocationRelativeTo(otherView: View): Point
  • Parameters

    • otherView: View

    Returns Point

getMeasuredHeight

  • getMeasuredHeight(): number
  • Returns number

getMeasuredState

  • getMeasuredState(): number
  • Returns number

getMeasuredWidth

  • getMeasuredWidth(): number
  • Returns number

getSafeAreaInsets

  • getSafeAreaInsets(): object
  • Returns object

    • bottom: any
    • left: any
    • right: any
    • top: any

getViewById

  • getViewById<T>(id: string): T
  • Type parameters

    • T: ViewBase

    Parameters

    • id: string

    Returns T

Optional hasGestureObservers

  • hasGestureObservers(): boolean
  • Returns boolean

hasListeners

  • hasListeners(eventName: string): boolean
  • Parameters

    • eventName: string

    Returns boolean

initNativeView

  • initNativeView(): void
  • Returns void

layout

  • layout(left: number, top: number, right: number, bottom: number, setFrame: boolean): void
  • Parameters

    • left: number
    • top: number
    • right: number
    • bottom: number
    • Optional setFrame: boolean

    Returns void

layoutNativeView

  • layoutNativeView(left: number, top: number, right: number, bottom: number): void
  • Parameters

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns void

loadView

  • loadView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

measure

  • measure(widthMeasureSpec: number, heightMeasureSpec: number): void
  • Parameters

    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns void

notify

  • notify<T>(data: T): void
  • Type parameters

    • T: NotifyData

    Parameters

    • data: T

    Returns void

notifyPropertyChange

  • notifyPropertyChange(propertyName: string, value: any, oldValue: any): void
  • Parameters

    • propertyName: string
    • value: any
    • Optional oldValue: any

    Returns void

off

  • off(eventNames: string | GestureTypes, callback: function, thisArg: any): any
  • Parameters

    • eventNames: string | GestureTypes
    • Optional callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

on

  • on(eventNames: string | GestureTypes, callback: function, thisArg: any): any
  • on(event: "loaded", callback: function, thisArg: any): any
  • on(event: "unloaded", callback: function, thisArg: any): any
  • on(event: "androidBackPressed", callback: function, thisArg: any): any
  • on(event: "showingModally", callback: function, thisArg: any): void
  • on(event: "shownModally", callback: function, thisArg: any): any
  • Parameters

    • eventNames: string | GestureTypes
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "loaded"
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "unloaded"
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "androidBackPressed"
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "showingModally"
    • callback: function
        • (args: ShownModallyData): void
        • Parameters

          • args: ShownModallyData

          Returns void

    • Optional thisArg: any

    Returns void

  • Parameters

    • event: "shownModally"
    • callback: function
        • (args: ShownModallyData): void
        • Parameters

          • args: ShownModallyData

          Returns void

    • Optional thisArg: any

    Returns any

onBackPressed

  • onBackPressed(): boolean
  • Returns boolean

onLayout

  • onLayout(left: number, top: number, right: number, bottom: number): void
  • Parameters

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns void

onLoaded

  • onLoaded(): void
  • Returns void

onMeasure

  • onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void
  • Parameters

    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns void

onResumeNativeUpdates

  • onResumeNativeUpdates(): void
  • Returns void

onUnloaded

  • onUnloaded(): void
  • Returns void

once

  • once(event: string, callback: function, thisArg: any): any
  • Parameters

    • event: string
    • callback: function
        • (data: EventData): void
        • Parameters

          • data: EventData

          Returns void

    • Optional thisArg: any

    Returns any

removeEventListener

  • removeEventListener(eventNames: string, callback: any, thisArg: any): any
  • Parameters

    • eventNames: string
    • Optional callback: any
    • Optional thisArg: any

    Returns any

requestLayout

  • requestLayout(): void
  • Returns void

resetNativeView

  • resetNativeView(): void
  • Returns void

set

  • set(name: string, value: any): void
  • Parameters

    • name: string
    • value: any

    Returns void

setInlineStyle

  • setInlineStyle(style: string): void
  • Parameters

    • style: string

    Returns void

setMeasuredDimension

  • setMeasuredDimension(measuredWidth: number, measuredHeight: number): void
  • Parameters

    • measuredWidth: number
    • measuredHeight: number

    Returns void

setNativeView

  • setNativeView(view: any): void
  • Parameters

    • view: any

    Returns void

Optional setOnTouchListener

  • setOnTouchListener(): void
  • Returns void

setProperty

  • setProperty(name: string, value: any): void
  • Parameters

    • name: string
    • value: any

    Returns void

showDrawer

  • showDrawer(): void
  • Returns void

showModal

  • showModal(moduleName: string, modalOptions: ShowModalOptions): ViewBase
  • showModal(view: ViewBase, modalOptions: ShowModalOptions): ViewBase
  • Parameters

    • moduleName: string
    • modalOptions: ShowModalOptions

    Returns ViewBase

  • Parameters

    • view: ViewBase
    • modalOptions: ShowModalOptions

    Returns ViewBase

toggleDrawerState

  • toggleDrawerState(): void
  • Returns void

unbind

  • unbind(property: string): void
  • Parameters

    • property: string

    Returns void

unloadView

  • unloadView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

Static combineMeasuredStates

  • combineMeasuredStates(curState: number, newState: any): number
  • Parameters

    • curState: number
    • newState: any

    Returns number

Static layoutChild

  • layoutChild(parent: View, child: View, left: number, top: number, right: number, bottom: number): void
  • Parameters

    • parent: View
    • child: View
    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns void

Static measureChild

  • measureChild(parent: View, child: View, widthMeasureSpec: number, heightMeasureSpec: number): object
  • Parameters

    • parent: View
    • child: View
    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns object

    • measuredHeight: number
    • measuredWidth: number

Static resolveSizeAndState

  • resolveSizeAndState(size: number, specSize: number, specMode: number, childMeasuredState: number): number
  • Parameters

    • size: number
    • specSize: number
    • specMode: number
    • childMeasuredState: number

    Returns number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method