VClientScreenWidth
No edit summary
No edit summary
Line 1: Line 1:
<message>Write the content here to display this box</message>
<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><span class="col-black">'''vClientScreenWidth'''</span></code> and <code><span class="col-black">'''vClientScreenHeight'''</span></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.

Revision as of 05:27, 27 February 2025

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, pixels, width, web browser, client


MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments