Class TwBlazorSizing
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
Global configuration for shared width/height utility classes reused by all components, so "w-full", "h-full", and common square icon sizes aren't retyped in every component theme.
[ExcludeFromCodeCoverage]
public class TwBlazorSizing
- Inheritance
-
TwBlazorSizing
- Inherited Members
Constructors
TwBlazorSizing()
public TwBlazorSizing()
Properties
Full
Gets or sets the combined 100% width and height classes.
public string Full { get; set; }
Property Value
FullHeight
Gets or sets the "h-full" (100% height) class.
public string FullHeight { get; set; }
Property Value
FullWidth
Gets or sets the "w-full" (100% width) class.
public string FullWidth { get; set; }
Property Value
Icon
Gets or sets the reusable square icon size scale. See TwBlazorIconSize.
public TwBlazorIconSize Icon { get; set; }
Property Value
MinWidthNone
Gets or sets the "min-w-0" class used to let a flex/grid child shrink below its content size.
public string MinWidthNone { get; set; }