Since implementing LockerService, the History object (documentation) is no longer available.

That's too bad, because I'm using History.pushState and onPopState events to manage navigation inside my Lightning Application.

Is there some workaround to access history object from an org with LockerService activated?


Fix to expose SecureWindow.history will be deployed next Tuesday in the next available Summer'16 patch.

  • Can you elaborate on SecureWindow.history? Sep 5 '18 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.