Interface RootRefOptions<T>

Custom reference options.

interface RootRefOptions<T extends object> {
    getId?: RefIdResolver;
    onResolvedValueChange?: RefOnResolvedValueChange<T>;
}

Type Parameters

  • T extends object

Properties

Must return the ID associated to the given target object, or undefined if it has no ID. If not provided it will try to get the reference id from the model getRefId() method.

Target object.

onResolvedValueChange?: RefOnResolvedValueChange<T>

What should happen when the resolved value changes.

Reference object.

New resolved value.

Old resolved value.