onBeforeTransitionOut - Before Transition Out Script

Activates JavaScript code before the transition out of this Application Page control, when it is about to be no longer visible.

Category

events

Syntax

<xp:eventHandler event="onBeforeTransitionOut" attributes>content</xp:eventHandler>

Usage

In Design mode, click All Properties and look for onBeforeTransitionOut in the events section.
Note: This event is new for Release 9.0.1

This is one of the events that occurs when transitioning between Application Page controls. See the onBeforeTransitionIn event, for a discussion of transitioning events.

Examples

<xe:appPage id="allDocuments" pageName="allDocuments">
	<xp:eventHandler event="onBeforeTransitionOut" submit="false">
		<xe:this.script><![CDATA[console.log('onBeforeTransitionOut allDocuments');]]&gt;</xe:this.script>
	</xp:eventHandler>
</xe:appPage>