CSSGrid
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
If you place a taggedValue 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.


If the TurnkeySettings file sees  
If the TurnkeySettings file sees:
  <UseCSSGridByDefault>True</UseCSSGridByDefault>
  <UseCSSGridByDefault>True</UseCSSGridByDefault>
we will always render with CSSGrid unless you explicitly say CSSGrid=false
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.
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 it will be managed by the CSSGrid values read from the viewmodel.
If you do generic [[EXT Components|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.
[[Category:CSS]]
{{Edited|July|12|2024}}

Latest revision as of 15:27, 10 February 2024

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.

This page was edited 96 days ago on 02/10/2024. What links here