ChangeDetection
interface ChangeDetection {
compare?: string[] | CustomCompareFunction;
find?: string;
ignoreQueryParams?: boolean | string[];
limit?: number;
}
compare?: string[] | CustomCompareFunction;
find?: string;
ignoreQueryParams?: boolean | string[];
limit?: number;
}
Index
Properties
Properties
Optional
compare
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.
Optional
find
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.
Optional
ignore Query Params
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.
Optional
limit
limit?: number
Limits the number of elements to be compared from the identified elements.
Custom change detection to specify how dynamic blocks should be checked for differences.