CSSGrid
(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>
If you place a tagged value on the ViewModel level ''CSSGrid=true'', we will render HTML with CSSGrid instead of Bootstrap.
If you place a tagged value on the ViewModel level ''CSSGrid=true'', we will render HTML with CSSGrid instead of Bootstrap.



Revision as of 07:38, 17 June 2024

This page was created by Hans.karlsen@mdriven.net on 2018-10-10. Last edited by Stephanie@mdriven.net on 2025-01-23.

If you place a tagged value on the ViewModel level CSSGrid=true, we will render HTML with CSSGrid instead of Bootstrap.

If the TurnkeySettings file sees:

<UseCSSGridByDefault>True</UseCSSGridByDefault>

We will always render with CSSGrid unless you explicitly say CSSGrid=false.

Using CSSGrid has advantages since we know exactly where we place content and it is not dependent on the environment as Bootstrap is.

If you do generic components, you do not need to know the surroundings of your HTML snippet - placement will be managed by the CSSGrid values read from the ViewModel.