Search


Search something to see results

ChangeDetection

Custom change detection to specify how dynamic blocks should be checked for differences.

interface ChangeDetection {
    compare?: string[] | CustomCompareFunction;
    find?: string;
    ignoreQueryParams?: boolean | string[];
    limit?: number;
}

Index

Properties

Properties

compare?: string[] | CustomCompareFunction

A list of properties which should be compared for the elements identified through the ChangeDetection.find option. Alternatively a CustomCompareFunction can be provided to compare the elements.

2.5.0

find?: string

The CSS Selector to identify this elements which should be compared for the change detection. In case no selector is specified the whole dynamic block will be considered as the element to compare.

2.5.0

ignoreQueryParams?: boolean | string[]

Specifies a list of query parameters to be ignored when comparing the property of the identified elements. Set to true if all parameters should be ignored.

2.10.0

limit?: number

Limits the number of elements to be compared from the identified elements.

2.13.0