I have a mixin that implements in scss a progress bar.
@mixin progressBarMix($name, $size, $perc, $color, $colorBack) {
  .progressBarWrapper {
    &#{$name} {
      $sizeFill: $size / 100 * $perc;
      .progressBarEndFilled {
        background-color: rgba($color, 1);
        left: $sizeFill;
      }
      .progressBarEnd {
        background-color: $colorBack;
      }
    }
  }
}
@include progressBarMix('.progressBar', 232px, 66, $bar, $barBackground);
I need to be able to make this include dynamically, where the '66' in the code represents the progress and should be bind to a variable form my controller. Is this even possible?
Thanks
 
     
    