Wiki source code of Progress
Hide last authors
1.1 | 1 | This class is used to send progress information during long running operations | |
2 | |||
3 | == Properties == | ||
4 | === title === | ||
5 | get the title | ||
6 | set the title | ||
7 | |||
8 | |||
9 | === total === | ||
10 | get the total | ||
11 | set the total amount of work | ||
12 | |||
13 | |||
14 | example: | ||
15 | {{code language="javascript"}} | ||
16 | progress.total = flt.count(); | ||
17 | {{/code}} | ||
18 | |||
19 | === current === | ||
20 | get the current position | ||
21 | set the current amount of work (for progress par) | ||
22 | |||
23 | |||
24 | example: | ||
25 | {{code language="javascript"}} | ||
26 | progress.current = 10 | ||
27 | {{/code}} |