Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private _resetFixedShort(): void {
this._getHostElement().classList.remove(cssClasses.SHORT_HAS_ACTION_ITEM_CLASS);
this._getHostElement().classList.remove(cssClasses.SHORT_COLLAPSED_CLASS);
this._getHostElement().classList.remove(cssClasses.FIXED_SCROLLED_CLASS);
}
removeClass: (className: string) => {
if (className === cssClasses.SHORT_COLLAPSED_CLASS && this.shortCollapsed) {
return;
}
this._getHostElement().classList.remove(className);
},
setStyle: (property: string, value: string) => this._getHostElement().style.setProperty(property, value),