/
eb
/
Surf
Обзор
Документация
Войти
/
eb
/
Surf
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Surf
/
node_modules
/
gauge
/
..
CHANGELOG.md
Initial commit
6 лет назад
LICENSE
Initial commit
6 лет назад
README.md
Initial commit
6 лет назад
base-theme.js
Initial commit
6 лет назад
error.js
Initial commit
6 лет назад
has-color.js
Initial commit
6 лет назад
index.js
Initial commit
6 лет назад
package.json
Initial commit
6 лет назад
plumbing.js
Initial commit
6 лет назад
process.js
Initial commit
6 лет назад
progress-bar.js
Initial commit
6 лет назад
render-template.js
Initial commit
6 лет назад
set-immediate.js
Initial commit
6 лет назад
set-interval.js
Initial commit
6 лет назад
spin.js
Initial commit
6 лет назад
template-item.js
Initial commit
6 лет назад
theme-set.js
Initial commit
6 лет назад
themes.js
Initial commit
6 лет назад
wide-truncate.js
Initial commit
6 лет назад
CHANGES FROM 1.x
THE GAUGE CLASS
`gauge.show(section | status, [completed])`
`gauge.hide([cb])`
`gauge.pulse([subsection])`
`gauge.disable()`
`gauge.enable()`
`gauge.isEnabled()`
`gauge.setThemeset(themes)`
`gauge.setTheme(theme)`
`gauge.setTemplate(template)`
Tracking Completion
THEMES
themes(opts)
themes.getDefault(opts)
themes.addTheme(themeName, themeObj)
themes.addTheme(themeName, [parentTheme], newTheme)
themes.getThemeNames()
themes.getTheme(name)
themes.setDefault([opts], themeName)
themes.newTheme([parentTheme,] newTheme)
themes.addToAllThemes(theme)
themes.newThemeset()
TEMPLATES
PLUMBING
`gauge.setTheme(theme)`
`gauge.setTemplate(template)`
`gauge.setWidth(width)`
`gauge.hide()`
`gauge.hideCursor()`
`gauge.showCursor()`
`gauge.show(status)`
README.md