Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am doing this to navigate to other page. // In call back private onItemSelect(item:any) if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); } # Its navigating to about page but not closing the side menu. #11

Open
dilshad372 opened this issue Mar 4, 2018 · 0 comments

Comments

@dilshad372
Copy link

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

  • I'm submitting a ...
    [ ] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository

  • Do you want to request a feature or report a bug?

  • What is the current behavior?

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
    https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

  • What is the expected behavior?

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

  • Angular version: 2.0.0-beta.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
@dilshad372 dilshad372 changed the title Hi, I am doing this to navigate to other page. private onItemSelect(item:any) if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); Mar 4, 2018
@dilshad372 dilshad372 changed the title I am doing this to navigate to other page. private onItemSelect(item:any) if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); I am doing this to navigate to other page. // In call back private onItemSelect(item:any) - if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); } # Its navigating to about page but not closing the side menu. Mar 4, 2018
@dilshad372 dilshad372 changed the title I am doing this to navigate to other page. // In call back private onItemSelect(item:any) - if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); } # Its navigating to about page but not closing the side menu. I am doing this to navigate to other page. // In call back private onItemSelect(item:any) if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); } # Its navigating to about page but not closing the side menu. Mar 4, 2018
@dilshad372 dilshad372 changed the title I am doing this to navigate to other page. // In call back private onItemSelect(item:any) if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); } # Its navigating to about page but not closing the side menu. I am doing this to navigate to other page. // In call back private onItemSelect(item:any) if(item.title === "Electricity") { this.router.navigateByUrl('/about'); this.onMenuClose(); } # Its navigating to about page but not closing the side menu. Mar 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant