Documentation

showProgress

displays a progress bar/ progress icon

void showProgress( [object config] );

Parameters

configobjectconfiguration of a progress bar (icon)

See also

Example

$$("data").showProgress({
    type:"bottom",
    delay:delay,
    hide:true
});

Details

Progress Types

Possible type values are:

  • top - draw a bar above the view/application
  • bottom - draws a bar below a view/application
  • icon - draw an icon in the middle of a view/application

Icon types are taken from FontAwesome collection.

Defaults

If configuration is not passed, the default one will be used, namely:

{
    position:0,
    delay: 2000,
    type:"icon",
    icon:"refresh",
    hide:false
}

If the above mentioned values are not redefined by a custom configuration, they will be applied.

Back to top