TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nagaraj Madyastha
NA
44
16.9k
browser forward and backward button in angular event
Mar 13 2018 2:20 PM
I am new to angular 4 using typescript, how can we differentiate forward and backward button in the browser.
this.subscription = <Subscription>this.lc.subscribe((x: PopStateEvent) => { console.log("Localtion Back", x); // // Handler });
how to come out of the application stack:usecase assume user started with google.com then user type abc.com . In abc.com, user will navigate a>b>c>d>e then from e page navigate to b and if the user press browserback button first time it should navigate to a thn second time back it should come back to google.com
Reply
Answers (
2
)
Migration of Angular 4 project to Angular 5
What is redux and ngrx? how to use?