A meter which can be used to display the progress of a lengthy operation. It is drawn as a bar that is filled as the operation completes. In addition, a non-deterministic progressmeter may be created by setting the mode attribute. This is used when the length of time to complete an operation is not known beforehand.
Example:
<progressmeter mode="determined" value="50%"/>
Attributes:
Attributes inherited from XUL Element
Determines the direction that the progressmeter is filled in.
In the progressmeter is placed inside a horizontally oriented box, autostretch determines whether the progressmeter stretches vertically to fit the given space. For vertically oriented boxes, determines whether the progressmeter stretches horizontally to fit the given space. Stetching in the opoosite direction is controlled with the flex attribute.
If true, then the progressmeter is collapsed and does not appear. It is equavalent to setting the CSS visibility property to collapsed.
If the label of the progressmeter is too small to fit in its given space, the text will be cropped on the side specified by the crop attribute. An ellipsis will be placed in place of the cropped text.
If true, extra borders are drawn around the element and all its descendants. This can be used to determine orientation and where flexible elements are. If debug mode is enabled for a box, horizontal oriented boxes are displayed with a blue border and vertical boxes are displayed with a red border. The border above the element will be straight for non-flexible elements and wavy for flexible elements.
Indicates the flexibility of the progressmeter. Flexible elements grow and shrink to fit their given space. The actual value is not relevant unless there are other flexible elements with-in the same container. Elements with larger flex values will grow more than elements with lower flex values, at the ratio determined by the two elements.
The height of the progressmeter in pixels. It is recommended to use the CSS height property instead.
For elements placed within a bulletinboard, specifies the position of the left edge of the progressmeter.
A determined progressmeter is used in cases where you know how long an operation will take. Undeterminate progressmeters can be used when you don't and will typically be drawn as a animating barber pole.
Used to specify whether the children of the progressmeter element are oriented horizontally or vertically.
The label that appears over the progressmeter. If this text is not specified, no label will appear.
For elements placed within a bulletinboard, specifies the position of the top edge of the progressmeter.
Determines the vertical alignment of the children of the progressmeter.
A percentage value that specifies the amount of the meter that is filled in. Because it is a percentage, it ranges from 0 to 100.
The width of the progressmeter in pixels. It is recommended to use the CSS width property instead.
JavaScript Properties and Methods:
Properties and Methods inherited from XUL Element
A determined progressmeter is used in cases where you know how long an operation will take. Undeterminate progressmeters can be used when you don't and will typically be drawn as a animating barber pole.
The label that appears over the progressmeter. If this text is not specified, no label will appear.
A percentage value that specifies the amount of the meter that is filled in. Because it is a percentage, it ranges from 0 to 100.