How to use the @material/animation.getCorrectPropertyName function in @material/animation

To help you get started, we’ve selected a few @material/animation 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 fintechstudios / angularjs-mdc / src / mdc-tabs / tab-bar-scroller.js View on Github external
setTransformStyleForTabBar: (value) => {
        if (!this.tabBarEl_) {
          return;
        }
        this.tabBarEl_.style.setProperty(getCorrectPropertyName(this.$window, 'transform'), value);
      },
      getOffsetLeftForEventTarget: (target) => target.offsetLeft,
github trimox / angular-mdc-web / packages / tabs / tab-bar-scroller.ts View on Github external
setTransformStyleForTabBar: (value: string) => {
      if (this.scrollFrame && this.scrollFrame.tabBar) {
        this._renderer.setStyle(this.scrollFrame.tabBar.elementRef.nativeElement, getCorrectPropertyName(window, 'transform'), value);
      }
    },
    getOffsetLeftForEventTarget: (target: HTMLElement) => target.offsetLeft,
github src-zone / material / bundle / src / components / tabs / mdc.tab.bar.scroller.directive.ts View on Github external
setTransformStyleForTabBar: (value: string) => {
            if (this._scrollFrame && this._scrollFrame._tabBar)
                this._rndr.setStyle(this._scrollFrame._tabBar._el.nativeElement, getCorrectPropertyName(window, 'transform'), value);
        },
        getOffsetLeftForEventTarget: (target: HTMLElement) => target.offsetLeft,
github secondstreet / ember-material-components-web / addon / components / mdc-tab-bar-scroller.js View on Github external
        run(() => this.setStyleFor('mdcScrollFrameStyles', getCorrectPropertyName(window, 'transform'), value));
      },