# j-Progress

> Možnosti j-Progress: animace

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

__Konfigurace__:

- `animate {Boolean}` umožňuje animaci (předvolené: `true`)

Použijte ji s `<ui-component name="progress">`Pokud je součástka ještě nezačleněna, jComponent Stáhnout ji na první použití z adresy `DEF.fallback` a) The Componentator CDN dle předvolby. autor: Peter Širka. zdroj: Componentator Výrobce je autorizován, MIT licence.

```html example.html
<div style="padding:50px;max-width:300px">
	<ui-component name="progress" path="percentage1"></ui-component>
	<br />
	<ui-component name="progress" path="percentage2"></ui-component>
	<br />
	<ui-component name="progress" path="percentage3" config="animate:false"></ui-component>
</div>

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