Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTransformStyleForTabBar: (value) => {
if (!this.tabBarEl_) {
return;
}
this.tabBarEl_.style.setProperty(getCorrectPropertyName(this.$window, 'transform'), value);
},
getOffsetLeftForEventTarget: (target) => target.offsetLeft,
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,
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,
run(() => this.setStyleFor('mdcScrollFrameStyles', getCorrectPropertyName(window, 'transform'), value));
},