Class Scrollable

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(element: Element, options?: ScrollableOptions): Scrollable

Parameters

Returns

Scrollable

constructor(element: JQuery, options?: ScrollableOptions): Scrollable

Parameters

Returns

Scrollable

Properties

public disposing: JQueryCallback

public optionChanged: JQueryCallback

Methods

public beginUpdate()

public clientHeight(): number

Returns

number

public content(): JQuery

Returns

JQuery

public endUpdate()

public instance(): Component

Returns

Component

public location(): Object

Returns

Object

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 scrollBy(distance: number)

Parameters

  • distance: number

public scrollBy(distance: Object)

Parameters

  • distance: Object

public scrollHeight(): number

Returns

number

public scrollTo(targetLocation: number)

Parameters

  • targetLocation: number

public scrollTo(targetLocation: Object)

Parameters

  • targetLocation: Object

public update()