# j-Progress

> Možnosti j-Progress: animovať

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

__Konfigurácia__:

- `animate {Boolean}` umožňuje animáciu (predvolené: `true`)

Použite ho so `<ui-component name="progress">`. Keď komponent ešte nie je načítaný, jComponent ho stiahne pri prvom použití z adresy v `DEF.fallback` (predvolene CDN Componentator). Autor: Peter Širka. Zdroj: úložisko komponentov Componentator, licencia MIT.

```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>
```
