Core API Overview > @adpt/core > Adapt > domDiffElements
Adapt.domDiffElements() function
Signature:
export declare function domDiffElements<E extends AdaptMountedElement = AdaptMountedElement>(oldElems: E[], newElems: E[], idFunc?: DomDiffIdFunc): DomDiff<E>;
Parameters
Parameter | Type | Description |
---|---|---|
oldElems | E[] | |
newElems | E[] | |
idFunc | DomDiffIdFunc |
Returns:
DomDiff<E>