Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first param in $timeout&progress speed #129

Closed
pirDOL opened this issue Jan 17, 2017 · 1 comment
Closed

first param in $timeout&progress speed #129

pirDOL opened this issue Jan 17, 2017 · 1 comment

Comments

@pirDOL
Copy link

pirDOL commented Jan 17, 2017

1 README.md says in Usage

Use with the API down below
$timeout($scope.progressbar.complete(), 1000);

I'm confused why $timeout is called by
$timeout($scope.progressbar.complete, 1000);

2 README,md also says in 'API'

adds between 0 - 5 percent to loading each 400 milliseconds

Is it possible to support this speed?

thx

@anthwinter
Copy link
Collaborator

Point 1: $timeout is used here as an example to something happening in your own code that takes time. (e.g. an HTTP request).

Point 2: Loading speed is not yet configurable, but there is a PR in at the moment which adds support to modify increments. #60

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

No branches or pull requests

2 participants