VIsMobileDevice
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The Turnkey Angular client sets the value of the variable <code><span class="col-black">'''vIsMobileDevice'''</span></code> if it exist in the [[ | The Turnkey Angular client sets the value of the variable <code><span class="col-black">'''vIsMobileDevice'''</span></code> if it exist in the [[Documentation:ViewModel|ViewModel]]. | ||
This makes it possible to simulate media queries on the ViewModel level instead of in the CSS. | This makes it possible to simulate media queries on the ViewModel level instead of in the CSS. |
Revision as of 05:37, 17 March 2025
This page was created by Lars.olofsson on 2025-02-20. Last edited by Edgar on 2025-08-31.
The Turnkey Angular client sets the value of the variable vIsMobileDevice
if it exist in the ViewModel.
This makes it possible to simulate media queries on the ViewModel level instead of in the CSS.
For search: media query, mobile device, web browser, client