Skip to main content
Version: 11.2

$.udb.currentPageNavigationSource()

note

This article is about the currentPageNavigationSource() function of the $.udb object.

$.udb.currentPageNavigationSource()

Returns a Symbol reference that specifies the navigation action name that caused the current page to be displayed.

For example: Symbol(closePage).

Syntax

$.udb.currentPageNavigationSource( [context] )

Example

$.udb.currentPageNavigationSource('ApplicationFrame');

result:

Symbol(navigateToRelated)

The optional context indicates the frame context for which the function is called. If you are displaying pages in a Frame Control that has an id property value of 'ApplicationFrame', then the context for those pages is 'ApplicationFrame'.