vue2-loading-bar
vue2-loading-bar copied to clipboard
Adding a custom class prevents the bar showing red in error mode
I added a custom class to the HTML:
<loading-bar
custom-class="custom-class"
...
Then set the error mode in the JS:
this.error = true;
The loading bar appears, but in green not red. Without the custom class there is no issue.
Hi @cjmyles, how about custom css?
.CustomClass.LoadingBar--error {
background: red;
}