How to use the @material/linear-progress.MDCLinearProgressFoundation.strings function in @material/linear-progress

To help you get started, we’ve selected a few @material/linear-progress examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jamesmfriedman / rmwc / src / linear-progress / foundation.tsx View on Github external
getPrimaryBar: () => {
          return (
            rootEl.ref?.querySelector(
              MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR
            ) || null
          );
        },
        forceLayout: () => rootEl.ref?.offsetWidth,
github jamesmfriedman / rmwc / src / linear-progress / index.tsx View on Github external
getBuffer: () =>
        this.root.ref &&
        this.root.ref.querySelector(
          MDCLinearProgressFoundation.strings.BUFFER_SELECTOR
        ),
      hasClass: (className: string) => this.root.hasClass(className),
github jamesmfriedman / rmwc / src / linear-progress / index.tsx View on Github external
getPrimaryBar: () =>
        this.root.ref &&
        this.root.ref.querySelector(
          MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR
        ),
      getBuffer: () =>
github jamesmfriedman / rmwc / src / linear-progress / foundation.tsx View on Github external
getBuffer: () =>
          rootEl.ref?.querySelector(
            MDCLinearProgressFoundation.strings.BUFFER_SELECTOR
          ) || null,
        hasClass: (className: string) => rootEl.hasClass(className),