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