Newer Version Available
isConsoleNavigation() for Lightning Experience
Determines whether the app it’s used within uses console navigation.
Arguments
None.
Sample Code
This component has a button that, when pressed, prints whether the current app is using console navigation.
Component code:
Controller code:
Response
This method returns a promise that, upon success, resolves
to true if the current app uses console navigation,
and false otherwise.