Severity Properties
interface SeverityProperties
Content copied to clipboard
This interface defines convenience properties and helper functions to easily apply Severity based behaviour to a component.
The property severity is offered in order to hold the current severity value.
In order to reactively apply an appropriate styling based upon the current severity value of the component - changing the background color for example - the helper function severityClassOf helps to choose the corresponding style bades upon the SeverityStyles interface from the dev.fritz2.styling.theme package.
Types
SeverityContext
Link copied to clipboard
class SeverityContext
Content copied to clipboard
Functions
severity
Link copied to clipboard
open fun severity(value: SeverityProperties.SeverityContext.() -> Severity)
Content copied to clipboard
severityClassOf
Link copied to clipboard
open fun severityClassOf(severityStyle: SeverityStyles): Flow<StyleClass>
Content copied to clipboard
This function manages the task to map a value of the Severity enumeration to a corresponding style defined within the SeverityStyles interface.
Properties
severity
Link copied to clipboard
Inheritors
CheckboxComponent
Link copied to clipboard
CheckboxGroupComponent
Link copied to clipboard
SeverityMixin
Link copied to clipboard
InputFieldComponent
Link copied to clipboard
RadioComponent
Link copied to clipboard
RadioGroupComponent
Link copied to clipboard
SwitchComponent
Link copied to clipboard
TextAreaComponent
Link copied to clipboard
SelectFieldComponent
Link copied to clipboard