Function useTempObjectStaging
- useTempObjectStaging<T extends unknown>(originalObject: Ref<T>, overrideDefaults?: ((_: T) => T)): {
modified: ComputedRef<boolean>;
resetChanges: (() => void);
tempObject: Ref<UnwrapRef<T>>;
} Parameters
- originalObject: Ref<T>
Optional
overrideDefaults: ((_: T) => T)
Returns {
modified: ComputedRef<boolean>;
resetChanges: (() => void);
tempObject: Ref<UnwrapRef<T>>;
}
resetChanges: (() => void)