Difference between revisions of "Meter"
Jump to navigation
Jump to search
(Created page with "The button component is just a simple button which is designed to fit the ImpVis Theme and emit events which are easy to use. File:Button.png|thumb|The iv-button component w...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The | [[File:MeterFull.png|thumb|The iv-meter component in its fully loaded state.]] | ||
[[File: | [[File:MeterHalf.png|thumb|The iv-meter component, approximately half loaded.]] | ||
The meter component is a simple progress bar. | |||
==Technical information== | ==Technical information== | ||
The <code>iv- | The <code>iv-meter</code> is for use as a simple progress bar. | ||
===Props=== | ===Props=== | ||
====== | ====== min ====== | ||
Type: | Type: Number | ||
Required: | Required: true | ||
Default: | Default: 0 | ||
Description: | Description: The number at which the progress bar is completely empty. | ||
=== | ====== max ====== | ||
Type: Number | |||
Required: True | |||
Default: 100 | |||
Description: The number at which the progress bar is completely full. | |||
====== value ====== | |||
Type: Number | |||
Required: True | |||
Default: 0 | |||
Description: The completeness of the bar. Bar is partially filled if value is between min and max. | |||
== | === Events === | ||
[[Category: | none | ||
[[Category:Loading Tools]] |
Latest revision as of 09:58, 28 September 2021
The meter component is a simple progress bar.
Technical information
The iv-meter
is for use as a simple progress bar.
Props
min
Type: Number
Required: true
Default: 0
Description: The number at which the progress bar is completely empty.
max
Type: Number
Required: True
Default: 100
Description: The number at which the progress bar is completely full.
value
Type: Number
Required: True
Default: 0
Description: The completeness of the bar. Bar is partially filled if value is between min and max.
Events
none