JSignage:ProgressWheel
Appearance
Description
The progress wheel widget shows a rotating wheel pattern to inform the user that some asynchronous process is in progress and he should wait for the results.
A new progress wheel is constructed with $.progressWheel( params )
The progress wheel is part of the interactive layer type and part of the interactivity framework.
progressWheel parameters
All layers share a common set of attributes to define their screen layout and active time interval.
Basic parameters
style- Wheel style, one of
'manzana','square'or'round'. Default:'manzana'.
- Wheel style, one of
color- Bars color. Default:
'white'.
- Bars color. Default:
barCount- Number of bars. Default: 12.
Advanced parameters
These parameters are for customization of the bars appearance beyond the three basic styles.
innerRadius- Ratio of inner radius of the bars to the size of the widget. Default: depends on style.
outerRadius- Ratio of outer radius of the bars to the size of the widget. Default: depends on style.
barWidth- Ratio of the width of the bars to the size of the widget. Default: depends on style.
lineCap- Style of stroke for the bars. See the stroke-linecap property in the SVG specification. Default: depends on style.
Specific functions
There are not specific functions for the progressWheel.
See the list of functions to work with layers.
Examples
$(function(){
$.progressWheel( {
style: 'round',
color: '#8080FF',
left: '45%',
top: '45%',
width: '10%',
height: '10%'
}).addTo('svg');
});
|