Search


Search something to see results

CustomCompareFunction

CustomCompareFunction: (
    local: HTMLElement,
    remote: HTMLElement,
) => string | null | ContentChange

A function to compare two html elements.

Type Declaration

    • (local: HTMLElement, remote: HTMLElement): string | null | ContentChange
    • Parameters

      Returns string | null | ContentChange

      The reason why the elements not match, a detailed ContentChange or null if no change is detected.