CustomCompareFunction
Type Declaration
- (local: HTMLElement, remote: HTMLElement): string | null | ContentChange
Parameters
local: HTMLElementremote: HTMLElement
Returns string | null | ContentChange
The reason why the elements not match, a detailed ContentChange or
nullif no change is detected.
A function to compare two html elements.