VClientScreenWidth
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
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]].
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]].



Revision as of 07:59, 17 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