Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadListView

Hierarchy

  • View

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns RadListView

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

_hasGroupingFunctionChanged

_hasGroupingFunctionChanged: boolean

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

android

android: any

androidDynamicElevationOffset

androidDynamicElevationOffset: number

androidElevation

androidElevation: number

androidListView

androidListView: any

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

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

enableCollapsibleGroups

enableCollapsibleGroups: boolean

filteringFunction

filteringFunction: function

Type declaration

    • (item: any): boolean
    • Parameters

      • item: any

      Returns boolean

flexGrow

flexGrow: FlexGrow

flexShrink

flexShrink: FlexShrink

flexWrapBefore

flexWrapBefore: FlexWrapBefore

footerItemTemplate

footerItemTemplate: string

groupTemplate

groupTemplate: string

groupingFunction

groupingFunction: function

Type declaration

    • (item: any): any
    • Parameters

      • item: any

      Returns any

headerItemTemplate

headerItemTemplate: string

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

itemReorder

itemReorder: boolean

itemSelectedBackgroundColor

itemSelectedBackgroundColor: Color

itemSwipe

itemSwipe: boolean

itemSwipeTemplate

itemSwipeTemplate: string

itemTemplate

itemTemplate: string

itemTemplateSelector

itemTemplateSelector: string | function

itemTemplates

itemTemplates: string | Array<KeyedTemplate>

itemViewDisposer

itemViewDisposer: function

Type declaration

    • (): void
    • Returns void

itemViewLoader

itemViewLoader: function

Type declaration

    • (viewType: any): View
    • Parameters

      • viewType: any

      Returns View

items

items: any

left

left: Length

listViewLayout

listViewLayout: ListViewLayoutBase

loadOnDemandBufferSize

loadOnDemandBufferSize: number

loadOnDemandMode

loadOnDemandMode: ListViewLoadOnDemandMode

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

multipleSelection

multipleSelection: boolean

nativeScriptViewAdded

nativeScriptViewAdded: function

Type declaration

    • (parent: View, child: View): void
    • Parameters

      • parent: View
      • child: View

      Returns void

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

pullToRefresh

pullToRefresh: boolean

pullToRefreshStyle

pullToRefreshStyle: PullToRefreshStyle

recycleNativeView

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

reorderMode

reorderMode: ListViewReorderMode

rotate

rotate: number

rotateX

rotateX: number

rotateY

rotateY: number

row

row: number

rowSpan

rowSpan: number

scaleX

scaleX: number

scaleY

scaleY: number

scrollPosition

scrollPosition: ListViewScrollPosition

selectionBehavior

selectionBehavior: ListViewSelectionBehavior

sortingFunction

sortingFunction: function

Type declaration

    • (item: any, otherItem: any): number
    • Parameters

      • item: any
      • otherItem: any

      Returns number

style

style: Style

swipeActions

swipeActions: boolean

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 dataPopulatedEvent

dataPopulatedEvent: string

Static enableCollapsibleGroupsProperty

enableCollapsibleGroupsProperty: Property<RadListView, boolean>

Static filteringFunctionProperty

filteringFunctionProperty: Property<RadListView, function>

Static footerItemTemplateProperty

footerItemTemplateProperty: Property<RadListView, string>

Static groupTemplateProperty

groupTemplateProperty: Property<RadListView, string>

Static groupingFunctionProperty

groupingFunctionProperty: Property<RadListView, function>

Static headerItemTemplateProperty

headerItemTemplateProperty: Property<RadListView, string>

Static itemDeselectedEvent

itemDeselectedEvent: string

Static itemDeselectingEvent

itemDeselectingEvent: string

Static itemHoldEvent

itemHoldEvent: string

Static itemLoadingEvent

itemLoadingEvent: string

Static itemReorderProperty

itemReorderProperty: Property<RadListView, boolean>

Static itemReorderStartedEvent

itemReorderStartedEvent: string

Static itemReorderStartingEvent

itemReorderStartingEvent: string

Static itemReorderedEvent

itemReorderedEvent: string

Static itemSelectedBackgroundColorProperty

itemSelectedBackgroundColorProperty: Property<RadListView, Color>

Static itemSelectedEvent

itemSelectedEvent: string

Static itemSelectingEvent

itemSelectingEvent: string

Static itemSwipeProgressChangedEvent

itemSwipeProgressChangedEvent: string

Static itemSwipeProgressEndedEvent

itemSwipeProgressEndedEvent: string

Static itemSwipeProgressStartedEvent

itemSwipeProgressStartedEvent: string

Static itemSwipeProperty

itemSwipeProperty: Property<RadListView, string>

Static itemSwipeTemplateProperty

itemSwipeTemplateProperty: Property<RadListView, string>

Static itemSwipingEvent

itemSwipingEvent: string

Static itemTapEvent

itemTapEvent: string

Static itemTemplateProperty

itemTemplateProperty: Property<RadListView, string>

Static itemsProperty

itemsProperty: Property<RadListView, any>

Static layoutChangedEvent

layoutChangedEvent: string

Static listViewLayoutProperty

listViewLayoutProperty: Property<RadListView, ListViewLayoutBase>

Static loadMoreDataRequestedEvent

loadMoreDataRequestedEvent: string

Static loadOnDemandBufferSizeProperty

loadOnDemandBufferSizeProperty: Property<RadListView, number>

Static loadOnDemandModeProperty

loadOnDemandModeProperty: Property<RadListView, ListViewLoadOnDemandMode>

Static loadedEvent

loadedEvent: string

Static multipleSelectionProperty

multipleSelectionProperty: Property<RadListView, boolean>

Static propertyChangeEvent

propertyChangeEvent: string

Static pullToRefreshInitiatedEvent

pullToRefreshInitiatedEvent: string

Static pullToRefreshProperty

pullToRefreshProperty: Property<RadListView, boolean>

Static pullToRefreshStyleProperty

pullToRefreshStyleProperty: Property<RadListView, PullToRefreshStyle>

Static reorderModeProperty

reorderModeProperty: Property<RadListView, ListViewReorderMode>

Static scrollDragEndedEvent

scrollDragEndedEvent: string

Static scrollEndedEvent

scrollEndedEvent: string

Static scrollPositionProperty

scrollPositionProperty: Property<RadListView, ListViewScrollPosition>

Static scrollStartedEvent

scrollStartedEvent: string

Static scrolledEvent

scrolledEvent: string

Static selectionBehaviorProperty

selectionBehaviorProperty: Property<RadListView, ListViewSelectionBehavior>

Static showingModallyEvent

showingModallyEvent: string

Static shownModallyEvent

shownModallyEvent: string

Static sortingFunctionProperty

sortingFunctionProperty: Property<RadListView, function>

Static swipeActionsProperty

swipeActionsProperty: Property<RadListView, boolean>

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

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

deselectAll

  • deselectAll(): void
  • Returns void

deselectItemAt

  • deselectItemAt(index: number): any
  • Parameters

    • index: number

    Returns any

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

getFirstVisiblePosition

  • getFirstVisiblePosition(): any
  • Returns any

getGestureObservers

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

    • type: GestureTypes

    Returns Array<GesturesObserver>

getItemAtIndex

  • getItemAtIndex(index: number): any
  • Parameters

    • index: number

    Returns any

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

getScrollOffset

  • getScrollOffset(): number
  • Returns number

getSelectedItems

  • getSelectedItems(): Array<any>
  • Returns Array<any>

getViewById

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

    • T: ViewBase

    Parameters

    • id: string

    Returns T

getViewForItem

  • getViewForItem(item: any): View
  • Parameters

    • item: any

    Returns View

    The {N} View used to visualize the provided item.

Optional hasGestureObservers

  • hasGestureObservers(): boolean
  • Returns boolean

hasListeners

  • hasListeners(eventName: string): boolean
  • Parameters

    • eventName: string

    Returns boolean

initNativeView

  • initNativeView(): void
  • Returns void

isItemSelected

  • isItemSelected(item: any): boolean
  • Parameters

    • item: any

    Returns boolean

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

notifyAppendItemsOnDemandFinished

  • notifyAppendItemsOnDemandFinished(itemsCount: number, disableLoadOnDemand: boolean): void
  • Parameters

    • itemsCount: number
    • Optional disableLoadOnDemand: boolean

    Returns void

notifyLoadOnDemandFinished

  • notifyLoadOnDemandFinished(disableLoadOnDemand: boolean): void
  • Parameters

    • Optional disableLoadOnDemand: boolean

    Returns void

notifyPropertyChange

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

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

    Returns void

notifyPullToRefreshFinished

  • notifyPullToRefreshFinished(enableLoadOnDemand: boolean): void
  • Parameters

    • Optional enableLoadOnDemand: boolean

    Returns void

notifySwipeToExecuteFinished

  • notifySwipeToExecuteFinished(): void
  • 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

refresh

  • refresh(): void
  • Returns void

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

resumeUpdates

  • resumeUpdates(refresh: boolean): any
  • Parameters

    • refresh: boolean

    Returns any

scrollToIndex

  • scrollToIndex(index: number, animate: boolean): void
  • scrollToIndex(index: number, animate: boolean, snapMode: ListViewItemSnapMode): void
  • scrollToIndex(index: number): void
  • Parameters

    • index: number
    • animate: boolean

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number

    Returns void

scrollWithAmount

  • scrollWithAmount(amount: number, animate: boolean): void
  • Parameters

    • amount: number
    • animate: boolean

    Returns void

selectAll

  • selectAll(): void
  • Returns void

selectItemAt

  • selectItemAt(index: number): any
  • Parameters

    • index: number

    Returns any

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

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

suspendUpdates

  • suspendUpdates(): void
  • Returns void

unbind

  • unbind(property: string): void
  • Parameters

    • property: string

    Returns void

unloadView

  • unloadView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

updateHeaderFooter

  • updateHeaderFooter(): void
  • Returns void

updatesSuspended

  • updatesSuspended(): boolean
  • Returns boolean

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