You need to sign in to do that
Don't have an account?
Donatien Veron
window.opener unusable in Lightning
Hello,
I need to know the opener of a lightning application. for this, I would use window.opener. The value of window.opener is not managed by javascript (execution of code stops) when the current window have been opened by another one.
What is the reason why this regular environment variable is not useable in ligthning ?
I need to know the opener of a lightning application. for this, I would use window.opener. The value of window.opener is not managed by javascript (execution of code stops) when the current window have been opened by another one.
What is the reason why this regular environment variable is not useable in ligthning ?
Abhishek Sagar 1
Since lightning uses aura framework written in javascript, it imposes certain restictions with regular Javascript functions. You can not use a lot of functions as such. Also with locker services enabled you can not use a lot of regular JS functions.