Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ViewBase

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _automaticallyAdjustsScrollViewInsets

_automaticallyAdjustsScrollViewInsets: boolean

_context

_context: any

_cssState

_cssState: any

Private _defaultPaddingBottom

_defaultPaddingBottom: number

Private _defaultPaddingLeft

_defaultPaddingLeft: number

Private _defaultPaddingRight

_defaultPaddingRight: number

Private _defaultPaddingTop

_defaultPaddingTop: number

_domId

_domId: number

Private _ignoreFlexMinWidthHeightReset

_ignoreFlexMinWidthHeightReset: boolean

_isAddedToNativeVisualTree

_isAddedToNativeVisualTree: boolean

Private _isPaddingRelative

_isPaddingRelative: boolean

Private _isStyleScopeHost

_isStyleScopeHost: boolean

Private _isViewBase

_isViewBase: boolean

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

alignSelf

alignSelf: AlignSelf

android

android: any

bindingContext

bindingContext: any

className

className: string

col

col: number

colSpan

colSpan: number

column

column: number

columnSpan

columnSpan: number

cssClasses

cssClasses: Set<string>

cssPseudoClasses

cssPseudoClasses: Set<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

flexGrow

flexGrow: FlexGrow

flexShrink

flexShrink: FlexShrink

flexWrapBefore

flexWrapBefore: FlexWrapBefore

id

id: string

ios

ios: any

isCollapsed

isCollapsed: boolean

isLoaded

isLoaded: boolean

left

left: Length

nativeView

nativeView: any

nativeViewProtected

nativeViewProtected: any

order

order: Order

page

page: Page

parent

parent: ViewBase

parentNode

parentNode: ViewBase

Private recycleNativeView

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

row

row: number

rowSpan

rowSpan: number

style

style: Style

top

top: Length

typeName

typeName: string

viewController

viewController: any

Static loadedEvent

loadedEvent: string

Static propertyChangeEvent

propertyChangeEvent: 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

Private _createPropertyChangeData

_dialogClosed

  • _dialogClosed(): void
  • Returns void

Private _emit

  • _emit(eventNames: string): any
  • Parameters

    • eventNames: string

    Returns any

_goToVisualState

  • _goToVisualState(state: string): void
  • Parameters

    • state: string

    Returns void

Private _inheritStyleScope

  • _inheritStyleScope(styleScope: any): void
  • Parameters

    • styleScope: any

    Returns void

Private _layoutParent

  • _layoutParent(): void
  • Returns void

Private _onCssStateChange

  • _onCssStateChange(): void
  • Returns void

_onRootViewReset

  • _onRootViewReset(): void
  • Returns void

_parentChanged

  • _parentChanged(oldParent: ViewBase): void
  • Parameters

    Returns void

_removeView

  • Parameters

    Returns void

_removeViewCore

  • Parameters

    Returns void

_removeViewFromNativeVisualTree

  • _removeViewFromNativeVisualTree(view: ViewBase): void
  • Parameters

    Returns void

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

addEventListener

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

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

    Returns any

Protected addPseudoClass

  • addPseudoClass(name: string): void
  • Parameters

    • name: string

    Returns void

bind

  • Parameters

    Returns void

Private callLoaded

  • callLoaded(): void
  • Returns void

Private callUnloaded

  • callUnloaded(): void
  • Returns void

closeModal

  • closeModal(context?: any): void
  • Parameters

    • Optional context: any

    Returns void

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

    Returns void

ensureDomNode

  • ensureDomNode(): any
  • Returns any

get

  • get(name: string): any
  • Parameters

    • name: string

    Returns any

getViewById

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

    Parameters

    • id: string

    Returns T

hasListeners

  • hasListeners(eventName: string): boolean
  • Parameters

    • eventName: string

    Returns boolean

initNativeView

  • initNativeView(): void
  • Returns void

loadView

  • Parameters

    Returns void

notify

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

    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, callback?: any, thisArg?: any): any
  • Parameters

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

    Returns any

on

  • on(eventNames: string, callback: function, thisArg?: any): any
  • on(event: "propertyChange", callback: function, thisArg?: any): any
  • Parameters

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

    Returns any

  • Parameters

    • event: "propertyChange"
    • callback: function
    • Optional thisArg: any

    Returns any

onLoaded

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

setNativeView

  • setNativeView(view: any): void
  • Parameters

    • view: any

    Returns void

setProperty

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

    • name: string
    • value: any

    Returns void

showModal

unbind

  • unbind(property: string): void
  • Parameters

    • property: string

    Returns void

unloadView

  • Parameters

    Returns void

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