How to use Material Components Web Foundations
问题 Using Material Components, I am trying to figure out how to use the methods of the Foundations of the components. For an example, I have <div role="progressbar" class="mdc-linear-progress"> <div class="mdc-linear-progress__buffering-dots"></div> <div class="mdc-linear-progress__buffer"></div> <div class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"> <span class="mdc-linear-progress__bar-inner"></span> </div> <div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar