Interface FBSDKCanvas

Index

Properties

Methods

Properties

public Prefetcher: FBSDKCanvasPrefetcher

Methods

public hideFlashElement(element: Element)

Parameters

  • element: Element

public hideFlashElement(element: HTMLElement)

Parameters

  • element: HTMLElement

public scrollTo(x: Number, y: Number)

Parameters

  • x: Number
  • y: Number

public setAutoGrow(stopTimer: boolean)

Parameters

  • stopTimer: boolean

public setAutoGrow(diffInterval: Number)

Parameters

  • diffInterval: Number

public setAutoGrow(stopTimer: boolean, diffInterval: Number)

Parameters

  • stopTimer: boolean
  • diffInterval: Number

public setDoneLoading(handler?: Function): FBSDKCanvasDoneLoading

Parameters

  • handler?: Function optional

Returns

FBSDKCanvasDoneLoading

public setSize(canvasSizeOptions: FBSDKCanvasSize)

Parameters

public setUrlHandler(handler?: Function): string

Parameters

  • handler?: Function optional

Returns

string

public showFlashElement(element: Element)

Parameters

  • element: Element

public showFlashElement(element: HTMLElement)

Parameters

  • element: HTMLElement

public startTimer()

public stopTimer(handler?: (fbResponseObject: Object) => any)

Parameters

  • handler?: (fbResponseObject: Object) => any optional