How to use the @material/slider.MDCSliderFoundation.strings function in @material/slider

To help you get started, we’ve selected a few @material/slider 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 / slider / index.tsx View on Github external
setLastTrackMarkersStyleProperty: (propertyName: string, value: any) => {
        if (this.root.ref) {
          // We remove and append new nodes, thus, the last track marker must be dynamically found.
          const lastTrackMarker = this.root.ref.querySelector(
            MDCSliderFoundation.strings.LAST_TRACK_MARKER_SELECTOR
          );
          lastTrackMarker &&
            lastTrackMarker.style.setProperty(propertyName, value);
        }
      },
      isRTL: () =>