How to use the @material/slider.strings.LAST_TRACK_MARKER_SELECTOR 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 trimox / angular-mdc-web / packages / slider / slider.ts View on Github external
setLastTrackMarkersStyleProperty: (propertyName: string, value: string) => {
        const lastTrackMarker =
          this._getHostElement().querySelector(strings.LAST_TRACK_MARKER_SELECTOR);
        lastTrackMarker!.style.setProperty(propertyName, value);
      },
      isRTL: () => getComputedStyle(this._getHostElement()).direction === 'rtl'