Meter
A meter that displays labels with their values and icons.
Properties
AppearanceOverride
AppearanceOverride
Use the AppearanceOverride
property to style the component.
The theme data for the component can be found in the Theming section and can be overwritten through AppearanceOverride
.
Pass AppearanceOverride as an optionalColorTable. More information on overrides can be found here.
Height
Height
Type
Code block has not loaded. An error may have occurred.
Max
Max
Type
Code block has not loaded. An error may have occurred.
Indicator
Indicator
Type
Code block has not loaded. An error may have occurred.
Labels
Labels
Type
Code block has not loaded. An error may have occurred.
Instance Properties
Instance Properties
This instance takes all the properties of a Frame
. SpecialKeys
, such as fusion.Children
will also be passed to the instance.
Slots
Slots allow you to customize specific aspects of the component completely, often replacing the old instances.
Slots are passed parameters that allow the slot to interact with component data that is normally not exposed.
Generally, an useColor
(the function passed by theme:get()
) function is passed as first parameter to allow the new components to use the same color as the parent component.
When using slots, make sure to wrap any code that uses reactive values in a Computed
(or any other classes that isolate state), to prevent unnecessary updates.
Indicator
A slot for the indicator. This overwrites the default indicator.
Function Type
Code block has not loaded. An error may have occurred.
Theming
States
State | Description |
---|---|
Base |
Colors
Color | Description |
---|---|
Background | |
Highlight | |
Indicator |
Types
Certain types are reused across different components. To make these types easily accessible, they are available below:
label
Code block has not loaded. An error may have occurred.