Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
updateCssVariable: (value: string) => {
if (util.supportsCssCustomProperties())
this._elm.nativeElement.style.setProperty(MDCTemporaryDrawerFoundation.strings.OPACITY_VAR_NAME, value);
},
eventTargetHasClass: (target: HTMLElement, className: string) => {
updateCssVariable: (value: string) => {
if (util.supportsCssCustomProperties()) {
this.renderer.setStyle(this.elementRef.nativeElement, '--mdc-temporary-drawer-opacity', value);
}
},
getFocusableElements: () => {