Salesforce has properties called UITheme and UIThemeDisplayed in the $User global variable for use in visual force pages. When I access skuid’s version of the $User global variable, I don’t see these properties. How can I know if a user is in lightning or classic from a skuid page?
var inLEX = skuid.platform.get("SFUITheme")==="Theme4d";console.log("Are we in Lightning Experience? " + (inLEX ? "Yes" : "No"));