Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
395 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict'
|
---|
| 2 | var spin = require('./spin.js')
|
---|
| 3 | var progressBar = require('./progress-bar.js')
|
---|
| 4 |
|
---|
| 5 | module.exports = {
|
---|
| 6 | activityIndicator: function (values, theme, width) {
|
---|
| 7 | if (values.spun == null) return
|
---|
| 8 | return spin(theme, values.spun)
|
---|
| 9 | },
|
---|
| 10 | progressbar: function (values, theme, width) {
|
---|
| 11 | if (values.completed == null) return
|
---|
| 12 | return progressBar(theme, width, values.completed)
|
---|
| 13 | }
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.