Interface Picker

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public calendarViewShown: boolean

public columns: PickerColumn[]

public countDownDuration: number

public format24: boolean

public locale: string

public maxDate: Date

public minDate: Date

public minuteInterval: number

public selectionIndicator: boolean

public type: number

public useSpinner: boolean

public value: Date

public visibleItems: number

Methods

public add(data: PickerRow[])

Parameters

public add(data: PickerRow)

Parameters

public add(data: PickerColumn[])

Parameters

public add(data: PickerColumn)

Parameters

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

Parameters

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

public applyProperties(props: Dictionary)

Parameters

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public getCalendarViewShown(): boolean

Returns

boolean

public getColumns(): PickerColumn[]

Returns

PickerColumn[]

public getCountDownDuration(): number

Returns

number

public getFormat24(): boolean

Returns

boolean

public getLocale(): string

Returns

string

public getMaxDate(): Date

Returns

Date

public getMinDate(): Date

Returns

Date

public getMinuteInterval(): number

Returns

number

public getSelectedRow(index: number): PickerRow

Parameters

  • index: number

Returns

PickerRow

public getSelectionIndicator(): boolean

Returns

boolean

public getType(): number

Returns

number

public getUseSpinner(): boolean

Returns

boolean

public getValue(): Date

Returns

Date

public getVisibleItems(): number

Returns

number

public reloadColumn(column: PickerColumn)

Parameters

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

Parameters

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

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setCalendarViewShown(calendarViewShown: boolean)

Parameters

  • calendarViewShown: boolean

public setColumns(columns: PickerColumn[])

Parameters

public setCountDownDuration(countDownDuration: number)

Parameters

  • countDownDuration: number

public setFormat24(format24: boolean)

Parameters

  • format24: boolean

public setLocale(locale: string)

Parameters

  • locale: string

public setMaxDate(maxDate: Date)

Parameters

  • maxDate: Date

public setMinDate(minDate: Date)

Parameters

  • minDate: Date

public setMinuteInterval(minuteInterval: number)

Parameters

  • minuteInterval: number

public setSelectedRow(column: number, row: number, animated?: boolean)

Parameters

  • column: number
  • row: number
  • animated?: boolean optional

public setSelectionIndicator(selectionIndicator: boolean)

Parameters

  • selectionIndicator: boolean

public setType(type: number)

Parameters

  • type: number

public setUseSpinner(useSpinner: boolean)

Parameters

  • useSpinner: boolean

public setValue(date: any, suppressEvent: boolean): PickerRow

Parameters

  • date: any
  • suppressEvent: boolean

Returns

PickerRow

public setVisibleItems(visibleItems: number)

Parameters

  • visibleItems: number

public showDatePickerDialog(dictObj: any)

Parameters

  • dictObj: any

public showTimePickerDialog(dictObj: any)

Parameters

  • dictObj: any