docs(app): add docs for getActiveNav

Closes #10282
This commit is contained in:
Melvin Lundberg
2017-02-02 18:40:11 +08:00
committed by mhartington
parent b8ee3018b5
commit 68aae8a4fc

View File

@ -189,7 +189,7 @@ export class App {
}
/**
* @private
* @return {NavController} Returns the active NavController. Using this method is preferred when we need access to the top-level navigation controller while on the outside views and handlers like `registerBackButtonAction()`
*/
getActiveNav(): NavController {
const portal = this._appRoot._getPortal(MODAL);