Base solution for your next web application
Open Closed

public ngOnInit() #8491


User avatar
0
optixdev created

ngOnInit() not working on navigating to another pages but its workingon hard reload.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @optixdev

    Could you share your TypeScript code ?

    Thanks.

  • User Avatar
    0
    optixdev created

    hi @ismcagdas

    This is the code:

  • User Avatar
    0
    ismcagdas created
    Support Team

    Does that work when you remove public from ngOnInit ?