You need to sign in to do that
Don't have an account?
pu 7
how to identify in lightning component tha user is in lightning mode or classic view.
Hi,
I'm creating a lighting componet that I will use this component on Vf page in classic and in lightning. I'm creating links that should work as per the view.
How can I identify in lightning component tha user is in lightning mode or classic view.?
I'm creating a lighting componet that I will use this component on Vf page in classic and in lightning. I'm creating links that should work as per the view.
How can I identify in lightning component tha user is in lightning mode or classic view.?
isLightning() && isMobile()
Lightning Experience (LightingX)
isLightning() && (!isMobile())
Visualforce inside Salesforce1/LightningX
(!isLightning()) && hasSforceOne()
Visualforce in Salesforce Classic
(!isLightning()) && (!hasSforceOne())