Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

bar is static with no event handling #61

Open
robeverett opened this issue Nov 29, 2018 · 1 comment
Open

bar is static with no event handling #61

robeverett opened this issue Nov 29, 2018 · 1 comment

Comments

@robeverett
Copy link

robeverett commented Nov 29, 2018

I'm trying to show a progress bar in my Angular reactive form to show the percentage of completion of the form.

I followed the bootstrap page to the 'T', but I just get a static grey bar.
How do I 'power' the progress bar ?

`

25%
`
@robeverett
Copy link
Author

robeverett commented Nov 29, 2018

Sorted it now, from StackOverflow:

<div class="progress"> <div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" [attr.aria-valuenow]="percentageComplete" [style.width.%]="percentageComplete">{{ percentageComplete }}% Complete</div> </div>

Unless I missed something, Bootstrap didnt explain the property binding part!

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

No branches or pull requests

1 participant