Class TwBlazorOptions
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
Global configuration options for TwBlazor components.
[ExcludeFromCodeCoverage]
public class TwBlazorOptions
- Inheritance
-
TwBlazorOptions
- Inherited Members
Constructors
TwBlazorOptions()
public TwBlazorOptions()
Properties
ClassMerge
Gets or sets how conflicting Tailwind classes are merged. Optional: the defaults are used when this is left alone.
public TwClassMergeOptions ClassMerge { get; set; }
Property Value
Localization
Gets or sets the language and the date and time formats components render with. Optional: components follow the application's culture and use the built in English strings when this is left alone.
public TwLocalizationOptions Localization { get; set; }
Property Value
Theme
Gets or sets the theme configuration for customizing component styles.
public required TwBlazorTheme Theme { get; set; }
Property Value
Remarks
Use this to override default styles for any component. Changes here affect all components unless individually overridden.