js-number">3</span>
  }
  {
    <span class="hljs-string">"class"</span>: <span class="hljs-string">"hx-warning"</span>
  }
  {
    <span class="hljs-string">"class"</span>: <span class="hljs-string">"hx-positive"</span>
    <span class="hljs-string">"ratio"</span>: <span class="hljs-number">1</span>
  }
]</code></pre></div> </div><div class="qm-html-paragraph">Passing in undefined as the segments parameter clears the segments and sets the progressbar to a single bar. The retainProgress parameter can be use