Interface RevealStatic

Index

Properties

Methods

Properties

public configure: (diff: RevealOptions) => void

public initialize: (config: RevealOptions) => void

Methods

public addEventListener(type: string, listener: Function, useCapture?: boolean)

Parameters

  • type: string
  • listener: Function
  • useCapture?: boolean optional

public addEventListeners()

public down()

public getConfig(): RevealOptions

Returns

RevealOptions

public getCurrentSlide(): Element

Returns

Element

public getIndices(slide?: Element): { h: number; v: number; }

Parameters

  • slide?: Element optional

Returns

{ h: number; v: number; }

public getPreviousSlide(): Element

Returns

Element

public getQueryHash(): any

Returns

any

public getScale(): number

Returns

number

public getSlide(x: number, y?: number): Element

Parameters

  • x: number
  • y?: number optional

Returns

Element

public isFirstSlide(): boolean

Returns

boolean

public isLastSlide(): boolean

Returns

boolean

public isOverview(): boolean

Returns

boolean

public isPaused(): boolean

Returns

boolean

public layout()

public left()

public next()

public nextFragment(): boolean

Returns

boolean

public prev()

public prevFragment(): boolean

Returns

boolean

public removeEventListener(type: string, listener: Function, useCapture?: boolean)

Parameters

  • type: string
  • listener: Function
  • useCapture?: boolean optional

public removeEventListeners()

public right()

public slide(h: number, v: number, f?: number, o?: number)

Parameters

  • h: number
  • v: number
  • f?: number optional
  • o?: number optional

public toggleOverview(override?: boolean)

Parameters

  • override?: boolean optional

public togglePause()

public up()