ChangeDetection
compare?: string[] | CustomCompareFunction;
find?: string;
ignoreQueryParams?: boolean | string[];
limit?: number;
mode?: "regular" | "ssr";
}
Index
Properties
Properties
Optionalcompare
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.
Optionalfind
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.
Optionalignore Query Params
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.
Optionallimit
Limits the number of elements to be compared from the identified elements.
Optionalmode
Whether the change detection should be restricted to regular or server-side rendering mode. In case it is not specified the change detection will be executed in both modes.
Custom change detection to specify how dynamic blocks should be checked for differences.