Class List

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(element: Element, options?: ListOptions): List

Parameters

Returns

List

constructor(element: JQuery, options?: ListOptions): List

Parameters

Returns

List

Properties

public disposing: JQueryCallback

public optionChanged: JQueryCallback

Methods

public addTemplate(template: ITemplate)

Parameters

public beginUpdate()

public clearSelectedItems()

public deleteItem(itemElement: JQuery): JQueryDeferred

Parameters

Returns

JQueryDeferred

public deleteItem(itemElement: Element): JQueryDeferred

Parameters

  • itemElement: Element

Returns

JQueryDeferred

public endUpdate()

public getSelectedItems(): Array<number>

Returns

Array<number>

public init()

public instance(): Component

Returns

Component

public isItemSelected(itemElement: JQuery): boolean

Parameters

Returns

boolean

public isItemSelected(itemElement: Element): boolean

Parameters

  • itemElement: Element

Returns

boolean

public option(): any

Returns

any

public option(options: string): any

Parameters

  • options: string

Returns

any

public option(options: string): T

Parameters

  • options: string

Returns

T

public option(options: string, value: any)

Parameters

  • options: string
  • value: any

public option(options: { [key: string]: any; })

Parameters

  • options: { [key: string]: any; }

public option(options?: any): any

Parameters

  • options?: any optional

Returns

any

public repaint()

public selectItem(itemElement: JQuery)

Parameters

public selectItem(itemElement: Element)

Parameters

  • itemElement: Element

public unselectItem(itemElement: JQuery)

Parameters

public unselectItem(itemElement: Element)

Parameters

  • itemElement: Element

public update(): JQueryDeferred

Returns

JQueryDeferred