MCPcopy Create free account
hub / github.com/NathanPB/progress.js / current

Method current

src/ProgressBar.ts:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31export class ProgressBar extends EventEmitter implements ProgressBarState {
32 private _current: number = 0
33 public get current() { return this._current }
34 public set current(value: number) {
35 this._current = Math.max(value, 0)
36 this.checkCompleteEvent()

Callers 2

token.test.tsFile · 0.80

Calls 1

checkCompleteEventMethod · 0.95

Tested by

no test coverage detected