Class SelectListView

Hierarchy

  • View
    • SelectListView

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(args?: Array<any>): View

Parameters

  • args?: Array<any> optional

Returns

View

Properties

public cancelling: boolean

public inputThrottle: number

public items: Array<any>

public list: JQuery

public maxItems: number

public previouslyFocusedElement: JQuery

public scheduleTimeout: any

Methods

public addSubscription(subscription: any): any

Parameters

  • subscription: any

Returns

any

public bindEventHandlers(view: View)

Parameters

public buildHtml(params: any): any

Parameters

  • params: any

Returns

any

public cancel(): any

Returns

any

public cancelled(): any

Returns

any

public command(eventName: string, handler: any): any

Parameters

  • eventName: string
  • handler: any

Returns

any

public command(eventName: string, selector: any, handler: any): any

Parameters

  • eventName: string
  • selector: any
  • handler: any

Returns

any

public command(eventName: string, selector: any, options: any, handler: any): any

Parameters

  • eventName: string
  • selector: any
  • options: any
  • handler: any

Returns

any

public confirmSelection(): any

Returns

any

public confirmed(item: any): any

Parameters

  • item: any

Returns

any

public static content(): any

Returns

any

public end(): any

Returns

any

public focusFilterEditor(): any

Returns

any

public getEmptyMessage(itemCount?: any, filteredItemCount?: any): string

Parameters

  • itemCount?: any optional
  • filteredItemCount?: any optional

Returns

string

public getFilterKey(): any

Returns

any

public getFilterQuery(): string

Returns

string

public getSelectedItem(): any

Returns

any

public getSelectedItemView(): any

Returns

any

public initialize(): any

Returns

any

public populateList(): any

Returns

any

public preempt(eventName: any, handler: any): any

Parameters

  • eventName: any
  • handler: any

Returns

any

public pushStack(elems: any): any

Parameters

  • elems: any

Returns

any

public restoreFocus(): any

Returns

any

public schedulePopulateList(): number

Returns

number

public scrollToItemView(view: any): any

Parameters

  • view: any

Returns

any

public selectItemView(view: any): any

Parameters

  • view: any

Returns

any

public selectNextItemView(): any

Returns

any

public selectPreviousItemView(): any

Returns

any

public setError(message?: string): any

Parameters

  • message?: string optional

Returns

any

public setItems(items: Array<any>): any

Parameters

  • items: Array<any>

Returns

any

public setLoading(message?: string): any

Parameters

  • message?: string optional

Returns

any

public setMaxItems(maxItems: number)

Parameters

  • maxItems: number

public storeFocusedElement(): any

Returns

any

public subscribe(eventEmitterOrSubscription: any, args?: Array<any>): any

Parameters

  • eventEmitterOrSubscription: any
  • args?: Array<any> optional

Returns

any

public subscribeToCommand(eventEmitter: any, args?: Array<any>): any

Parameters

  • eventEmitter: any
  • args?: Array<any> optional

Returns

any

public subscribeWith(eventEmitter: any, methodName: string, args: any): any

Parameters

  • eventEmitter: any
  • methodName: string
  • args: any

Returns

any

public unsubscribe(object?: any): any

Parameters

  • object?: any optional

Returns

any

public viewForItem(item: any): JQuery

Parameters

  • item: any

Returns

JQuery

public wireOutlets(view: View)

Parameters