ForgeComponents
en

Components

j-MainProgress

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

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.

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

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