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

NgbProgressbar to show value in the bar #1251

Closed
zijianhuang opened this issue Jan 24, 2017 · 0 comments
Closed

NgbProgressbar to show value in the bar #1251

zijianhuang opened this issue Jan 24, 2017 · 0 comments

Comments

@zijianhuang
Copy link

Event though the manual says value is "Current value to be displayed in the progressbar...", it is not really displayed, as revealed in the ng-bootstrap source code as well at https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/progressbar/progressbar.ts. So now I have to use bootstrap bare metal like this:
<div class="progress"> <div class="progress-bar progress-bar-striped bg-info" role="progressbar" [style.width.%]="gap/14.4" [attr.aria-valuenow]="gap" aria-valuemin="0" aria-valuemax="1440">{{gap}} m</div> </div>

Please provide an option to display the value, which could be percentage or absolute value.

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

Successfully merging a pull request may close this issue.

2 participants