Class SwipeView

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(element: string): SwipeView

Parameters

  • element: string

Returns

SwipeView

constructor(element: string, options: SwipeViewOptions): SwipeView

Parameters

Returns

SwipeView

Properties

public currentMasterPage: number

public masterPages: Array<HTMLElement>

public onFlip: SwipeViewEvent

public onMoveIn: SwipeViewEvent

public onMoveOut: SwipeViewEvent

public onTouchStart: SwipeViewEvent

public slider: HTMLElement

public wrapper: HTMLElement

public wrapperHeight: number

Methods

public destroy()

public goToPage(p: number)

Parameters

  • p: number

public handleEvent(e: Event)

Parameters

  • e: Event

public next()

public prev()

public refreshSize()

public updatePageCount(n: number)

Parameters

  • n: number