Tabnine Logo For Javascript
Nav.setRoot
Code IndexAdd Tabnine to your IDE (free)

How to use
setRoot
function
in
Nav

Best JavaScript code snippets using ionic-angular.Nav.setRoot(Showing top 2 results out of 315)

origin: gaccettola/mortis

// ////////////////////////////////////////////////////////////////////////
  //
  //

  logout_and_redirect_to_login_page ( )
  {
    this._dataframeAccount.logout ( );

    this.nav.setRoot ( LoginComponent ).catch( () =>
    {
      console.log ( "Didn't set nav root" );

    } );
  }
origin: gaccettola/mortis

openPage ( page : PageInterface )
  {
    console.log ( `::openPage`, page );

    if ( -1 === page.id )
    {
      this.logout_and_redirect_to_login_page ( );

    } else
    {
      this.nav.setRoot ( page.component ).catch( () =>
      {
        this.logout_and_redirect_to_login_page ( );

      } );

    }

  }
ionic-angular(npm)NavsetRoot

Most used ionic-angular functions

  • Platform.ready
  • ActionSheet.present
  • ActionSheetController.create
  • Alert.present
  • AlertController.create
  • Loading.dismiss,
  • Loading.present,
  • LoadingController.create,
  • MenuController.enable,
  • Nav.getActive,
  • Nav.getActiveChildNav,
  • Nav.setRoot,
  • NavController.pop,
  • NavController.push,
  • NavController.setRoot,
  • NavParams.get,
  • ViewController.component

Popular in JavaScript

  • mkdirp
    Recursively mkdir, like `mkdir -p`
  • crypto
  • lodash
    Lodash modular utilities.
  • express
    Fast, unopinionated, minimalist web framework
  • rimraf
    A deep deletion module for node (like `rm -rf`)
  • mongodb
    The official MongoDB driver for Node.js
  • bluebird
    Full featured Promises/A+ implementation with exceptionally good performance
  • request
    Simplified HTTP request client.
  • mocha
    simple, flexible, fun test framework
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJavascript Code Index
Get Tabnine for your IDE now