Module UI

Index

Variables

Modules

Enumerations

Interfaces

Functions

Variables

ANIMATION_CURVE_EASE_IN: number

ANIMATION_CURVE_EASE_IN_OUT: number

ANIMATION_CURVE_EASE_OUT: number

ANIMATION_CURVE_LINEAR: number

AUTODETECT_ADDRESS: number

AUTODETECT_ALL: number

AUTODETECT_CALENDAR: number

AUTODETECT_LINK: number

AUTODETECT_NONE: number

AUTODETECT_PHONE: number

AUTOLINK_ALL: number

AUTOLINK_CALENDAR: number

AUTOLINK_EMAIL_ADDRESSES: number

AUTOLINK_MAP_ADDRESSES: number

AUTOLINK_NONE: number

AUTOLINK_PHONE_NUMBERS: number

AUTOLINK_URLS: number

BLEND_MODE_CLEAR: number

BLEND_MODE_COLOR: number

BLEND_MODE_COLOR_BURN: number

BLEND_MODE_COLOR_DODGE: number

BLEND_MODE_COPY: number

BLEND_MODE_DARKEN: number

BLEND_MODE_DESTINATION_ATOP: number

BLEND_MODE_DESTINATION_IN: number

BLEND_MODE_DESTINATION_OUT: number

BLEND_MODE_DESTINATION_OVER: number

BLEND_MODE_DIFFERENCE: number

BLEND_MODE_EXCLUSION: number

BLEND_MODE_HARD_LIGHT: number

BLEND_MODE_HUE: number

BLEND_MODE_LIGHTEN: number

BLEND_MODE_LUMINOSITY: number

BLEND_MODE_MULTIPLY: number

BLEND_MODE_NORMAL: number

BLEND_MODE_OVERLAY: number

BLEND_MODE_PLUS_DARKER: number

BLEND_MODE_PLUS_LIGHTER: number

BLEND_MODE_SATURATION: number

BLEND_MODE_SCREEN: number

BLEND_MODE_SOFT_LIGHT: number

BLEND_MODE_SOURCE_ATOP: number

BLEND_MODE_SOURCE_IN: number

BLEND_MODE_SOURCE_OUT: number

BLEND_MODE_XOR: number

EXTEND_EDGE_ALL: number

EXTEND_EDGE_BOTTOM: number

EXTEND_EDGE_LEFT: number

EXTEND_EDGE_NONE: number

EXTEND_EDGE_RIGHT: number

EXTEND_EDGE_TOP: number

FACE_DOWN: number

FACE_UP: number

FILL: string

INHERIT: string

INPUT_BORDERSTYLE_BEZEL: number

INPUT_BORDERSTYLE_LINE: number

INPUT_BORDERSTYLE_NONE: number

INPUT_BORDERSTYLE_ROUNDED: number

INPUT_BUTTONMODE_ALWAYS: number

INPUT_BUTTONMODE_NEVER: number

INPUT_BUTTONMODE_ONBLUR: number

INPUT_BUTTONMODE_ONFOCUS: number

KEYBOARD_APPEARANCE_ALERT: number

KEYBOARD_APPEARANCE_DEFAULT: number

KEYBOARD_ASCII: number

KEYBOARD_DECIMAL_PAD: number

KEYBOARD_DEFAULT: number

KEYBOARD_EMAIL: number

KEYBOARD_NAMEPHONE_PAD: number

KEYBOARD_NUMBERS_PUNCTUATION: number

KEYBOARD_NUMBER_PAD: number

KEYBOARD_PHONE_PAD: number

KEYBOARD_URL: number

LANDSCAPE_LEFT: number

LANDSCAPE_RIGHT: number

LIST_ACCESSORY_TYPE_CHECKMARK: number

LIST_ACCESSORY_TYPE_DETAIL: number

LIST_ACCESSORY_TYPE_DISCLOSURE: number

LIST_ACCESSORY_TYPE_NONE: number

LIST_ITEM_TEMPLATE_CONTACTS: number

LIST_ITEM_TEMPLATE_DEFAULT: number

LIST_ITEM_TEMPLATE_SETTINGS: number

LIST_ITEM_TEMPLATE_SUBTITLE: number

NOTIFICATION_DURATION_LONG: number

NOTIFICATION_DURATION_SHORT: number

PICKER_TYPE_COUNT_DOWN_TIMER: number

PICKER_TYPE_DATE: number

PICKER_TYPE_DATE_AND_TIME: number

PICKER_TYPE_PLAIN: number

PICKER_TYPE_TIME: number

PORTRAIT: number

RETURNKEY_DEFAULT: number

RETURNKEY_DONE: number

RETURNKEY_EMERGENCY_CALL: number

RETURNKEY_GO: number

RETURNKEY_GOOGLE: number

RETURNKEY_JOIN: number

RETURNKEY_NEXT: number

RETURNKEY_ROUTE: number

RETURNKEY_SEARCH: number

RETURNKEY_SEND: number

RETURNKEY_YAHOO: number

SIZE: string

TEXT_ALIGNMENT_CENTER: any

TEXT_ALIGNMENT_LEFT: any

TEXT_ALIGNMENT_RIGHT: any

TEXT_AUTOCAPITALIZATION_ALL: number

TEXT_AUTOCAPITALIZATION_NONE: number

TEXT_AUTOCAPITALIZATION_SENTENCES: number

TEXT_AUTOCAPITALIZATION_WORDS: number

TEXT_VERTICAL_ALIGNMENT_BOTTOM: any

TEXT_VERTICAL_ALIGNMENT_CENTER: any

TEXT_VERTICAL_ALIGNMENT_TOP: any

UNIT_CM: string

UNIT_DIP: string

UNIT_IN: string

UNIT_MM: string

UNIT_PX: string

UNKNOWN: number

UPSIDE_PORTRAIT: number

URL_ERROR_AUTHENTICATION: number

URL_ERROR_BAD_URL: number

URL_ERROR_CONNECT: number

URL_ERROR_FILE: number

URL_ERROR_FILE_NOT_FOUND: number

URL_ERROR_HOST_LOOKUP: number

URL_ERROR_REDIRECT_LOOP: number

URL_ERROR_SSL_FAILED: number

URL_ERROR_TIMEOUT: number

URL_ERROR_UNKNOWN: number

URL_ERROR_UNSUPPORTED_SCHEME: number

backgroundColor: string

backgroundImage: string

bubbleParent: boolean

currentTab: Tab

currentWindow: Window

orientation: number

Functions

addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

applyProperties(props: Dictionary)

Parameters

convertUnits(convertFromValue: string, convertToUnits: string): number

Parameters

  • convertFromValue: string
  • convertToUnits: string

Returns

number

create2DMatrix(parameters?: MatrixCreationDict): _2DMatrix

Parameters

Returns

_2DMatrix

create3DMatrix(parameters?: Dictionary): _3DMatrix

Parameters

Returns

_3DMatrix

createActivityIndicator(parameters?: Dictionary): ActivityIndicator

Parameters

Returns

ActivityIndicator

createAlertDialog(parameters?: Dictionary): AlertDialog

Parameters

Returns

AlertDialog

createAnimation(parameters?: Dictionary): Animation

Parameters

Returns

Animation

createButton(parameters?: Dictionary): Button

Parameters

Returns

Button

createButtonBar(parameters?: Dictionary): ButtonBar

Parameters

Returns

ButtonBar

createCoverFlowView(parameters?: Dictionary): CoverFlowView

Parameters

Returns

CoverFlowView

createDashboardItem(parameters?: Dictionary): DashboardItem

Parameters

Returns

DashboardItem

createDashboardView(parameters?: Dictionary): DashboardView

Parameters

Returns

DashboardView

createEmailDialog(parameters?: Dictionary): EmailDialog

Parameters

Returns

EmailDialog

createImageView(parameters?: Dictionary): ImageView

Parameters

Returns

ImageView

createLabel(parameters?: Dictionary): Label

Parameters

Returns

Label

createListSection(parameters?: Dictionary): ListSection

Parameters

Returns

ListSection

createListView(parameters?: Dictionary): ListView

Parameters

Returns

ListView

createMaskedImage(parameters?: Dictionary): MaskedImage

Parameters

Returns

MaskedImage

createNotification(parameters?: Dictionary): Notification

Parameters

Returns

Notification

createOptionDialog(parameters?: Dictionary): OptionDialog

Parameters

Returns

OptionDialog

createPicker(parameters?: Dictionary): Picker

Parameters

Returns

Picker

createPickerColumn(parameters?: Dictionary): PickerColumn

Parameters

Returns

PickerColumn

createPickerRow(parameters?: Dictionary): PickerRow

Parameters

Returns

PickerRow

createProgressBar(parameters?: Dictionary): ProgressBar

Parameters

Returns

ProgressBar

createSMSDialog(parameters?: Dictionary): SMSDialog

Parameters

Returns

SMSDialog

createScrollView(parameters?: Dictionary): ScrollView

Parameters

Returns

ScrollView

createScrollableView(parameters?: Dictionary): ScrollableView

Parameters

Returns

ScrollableView

createSearchBar(parameters?: Dictionary): SearchBar

Parameters

Returns

SearchBar

createSlider(parameters?: Dictionary): Slider

Parameters

Returns

Slider

createSwitch(parameters?: Dictionary): Switch

Parameters

Returns

Switch

createTab(parameters?: Dictionary): Tab

Parameters

Returns

Tab

createTabGroup(parameters?: Dictionary): TabGroup

Parameters

Returns

TabGroup

createTabbedBar(parameters?: Dictionary): TabbedBar

Parameters

Returns

TabbedBar

createTableView(parameters?: Dictionary): TableView

Parameters

Returns

TableView

createTableViewRow(parameters?: Dictionary): TableViewRow

Parameters

Returns

TableViewRow

createTableViewSection(parameters?: Dictionary): TableViewSection

Parameters

Returns

TableViewSection

createTextArea(parameters?: Dictionary): TextArea

Parameters

Returns

TextArea

createTextField(parameters?: Dictionary): TextField

Parameters

Returns

TextField

createToolbar(parameters?: Dictionary): Toolbar

Parameters

Returns

Toolbar

createView(parameters?: Dictionary): View

Parameters

Returns

View

createWebView(parameters?: Dictionary): WebView

Parameters

Returns

WebView

createWindow(parameters?: Dictionary): Window

Parameters

Returns

Window

fireEvent(name: string, event: Dictionary)

Parameters

getBackgroundColor(): string

Returns

string

getBackgroundImage(): string

Returns

string

getBubbleParent(): boolean

Returns

boolean

getCurrentTab(): Tab

Returns

Tab

getCurrentWindow(): Window

Returns

Window

getOrientation(): number

Returns

number

removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

setBackgroundColor(backgroundColor: string)

Parameters

  • backgroundColor: string

setBackgroundImage(backgroundImage: string)

Parameters

  • backgroundImage: string

setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

setCurrentTab(currentTab: Tab)

Parameters

  • currentTab: Tab

setOrientation(orientation: number)

Parameters

  • orientation: number