Hide or show layout components specifically inside the wrapper app.
To prevent app-only functions (like "Clear App Cache" or "Rate App") from displaying on standard desktop or mobile web browsers, Nativine automatically injects a CSS wrapper class to the root HTML tag on startup:
/* Hide by default on public desktop/mobile website */
.app-only {
display: none !important;
}
/* Display only inside Nativine App */
.nativine-app .app-only {
display: block !important;
}
Simply assign the class name app-only to any elements you wish to restrict to mobile app users.