it is working in chrome but not working other browser


On Wed, Sep 25, 2019 at 1:21 AM Kamil Kaplan <[email protected]> wrote:

> import { PlatformLocation } from ‘@angular/common’;
>     constructor(location: PlatformLocation, private router: Router) {
>     location.onPopState(() => {
>     console.log(‘pressed back in add!!!!!’);
>     //this.router.navigateByUrl(‘/multicomponent’);
>     //history.forward();
> });
>
> On Tue, Sep 24, 2019 at 7:04 PM Sivaprakash Gopal <[email protected]>
> wrote:
>
>> Hi All,
>>
>> We are using Angular 7.
>> How to disable back button in the browser
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/angular/572c6c00-7a4b-49e7-a648-c1f3be0c15f3%40googlegroups.com
>> <https://groups.google.com/d/msgid/angular/572c6c00-7a4b-49e7-a648-c1f3be0c15f3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/CADUE8w%2BDTH3gWWejWYt18W_HS7hy5ohzBhgAAAH6qtJHgv4cjQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/angular/CADUE8w%2BDTH3gWWejWYt18W_HS7hy5ohzBhgAAAH6qtJHgv4cjQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Thanks,
Siva prakash Gopal

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CA%2B_QQhKVjFfBt01yArsNM6GWfuqtf_PL2FK0XepUmDKk8hpL8w%40mail.gmail.com.

Reply via email to