Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTranslateX: (value) => {
if (this.drawerNav) {
this.renderer.setProperty(this.drawerNav.elementRef, util.getTransformPropertyName(),
value === null ? null : `translateX(${value}px)`);
}
},
getFocusableElements: () => {
setTranslateX: (value) => this.forDrawer((d) => {
return d._elm.nativeElement.style.setProperty(util.getTransformPropertyName(),
value === null ? null : `translateX(${value}px)`);
}),
getFocusableElements: () => this.forDrawer((d) => {
setTranslateX: (value) => {
if (this.drawerNav) {
this.renderer.setProperty(this.drawerNav.elementRef, util.getTransformPropertyName(),
value === null ? null : `translateX(${value}px)`);
}
},
updateCssVariable: (value: string) => {