startSwitching


Purpose

Manually initiates the animation.

Signature

startSwitching( shouldWait, onReady )

Returns

This method does not return anything.

Parameters

Name Description Type Use
shouldWait This parameter decides if the transition is performed immediately. If set to "true", after the screenshot is taken and displayed, the API waits for the continueSwitching method to be called to start the animation. By default it is set to "false". boolean optional
onReady

A callback function, invoked when the screenshot is taken and displayed.

function optional

Related topics

NativePageSwitcher
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...