VClientScreenWidth
(Automatically adding template at the end of the page.)
No edit summary
Line 1: Line 1:
The Turnkey Angular client now sets the values of variables <code>vClientScreenWidth</code> and <code>vClientScreenHeight</code> if they exist in the ViewModel.
The Turnkey Angular client now sets the values of variables <code>vClientScreenWidth</code> and <code>vClientScreenHeight</code> if they exist in the [[Training: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.


For search: media query
For search: media query
[[Category:MDriven Turnkey]]
 
[[Category:View Model]]
{{Edited|July|12|2024}}
{{Edited|July|12|2024}}

Revision as of 05:19, 4 June 2024

This page was created by Hans.karlsen@mdriven.net on 2022-07-30. Last edited by Stephanie@mdriven.net on 2025-03-17.

The Turnkey Angular client now sets the values of variables vClientScreenWidth and vClientScreenHeight if they 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