# j-MainProgress

> This component is singleton. The component is visible when the value if more than 0 and less than 100. Data-binding expects Number.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: en
Content-SHA256: e97fbb6956c9264c306cb253aa2eba30c68c29a850ea4ac3eeb65bb446be767f
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

This component is singleton. The component is visible when the value if more than `0` and less than `100`. Data-binding expects `Number`.


__Configuration__:

- `position {String}` optional, can be `bottom` (default: `top`)

Use it with `<ui-component name="mainprogress">`. When the component is not loaded yet, jComponent downloads it on first use from the address in `DEF.fallback` (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

```html example.html
<ui-component name="mainprogress" path="percentage"></ui-component>

<script>
	var percentage = 30;
	setInterval(function() {
		SET('percentage', (Math.random() * 100) >> 0);
	}, 800);
</script>
```
