VClientScreenWidth
No edit summary
No edit summary
Line 1: Line 1:
The Turnkey angular client now sets the values of variables vClientScreenWidth and vClientScreenHeight 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 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 06:29, 17 July 2023

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