Skip to content

Document the progress event - #558

Merged
CodeByZach merged 1 commit into
masterfrom
readme-progress-event
Nov 2, 2026
Merged

CodeByZach merged 1 commit into
masterfrom
readme-progress-event

Conversation

@CodeByZach

Copy link
Copy Markdown
Owner

pace has fired a progress event on every frame since 1.2.2 (Bar.prototype.update in pace.js), with the current progress from 0 to 100, but the README's list of events didn't include it. This adds it.

How to verify: on any page with pace, Pace.on('progress', function (p) { console.log(p); }); Pace.restart(); logs rising values that end at 100.

pace has fired a `progress` event on every frame since 1.2.2, with the
current progress (0–100), but the README's list of events didn't
include it.
@CodeByZach CodeByZach self-assigned this Nov 2, 2026
@CodeByZach
CodeByZach merged commit 82badf9 into master Nov 2, 2026
2 checks passed
@CodeByZach
CodeByZach deleted the readme-progress-event branch November 2, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant