Skip to content

Allow for an initial render or pace.op(0) #8

Description

@FullR

I find it looks much better to have an empty progress bar initially rather than nothing at all. I'm currently doing an initial render by doing this: pace.op(-1); pace.op();. I would rather just use pace.op(0), but this doesn't work. The count check shouldn't test for a truthy value. Instead, it could just check arguments.length or typeof count === "number".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions