Core API Overview > @adpt/core > Adapt > domForEach
Adapt.domForEach() function
Signature:
export declare function domForEach<E extends AdaptMountedElement = AdaptMountedElement>(dom: E | null, f: (el: E) => void): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| dom | E | null | |
| f | (el: E) => void |
Returns:
void