Function: useRemoveClass()
useRemoveClass(
target,className):void
Defined in: src/infrastructure/dom/dom.service.ts:169
Removes CSS class(es) from the target element.
Parameters
target
string | Element
A CSS selector string or an Element instance.
className
string | string[]
A single class name or an array of class names to remove.
Returns
void
Example
useRemoveClass("#header", "sticky");
useRemoveClass(myElement, ["visible", "active"]);