Type Alias ReactiveDiff<V>
Type declaration
onDiff:function
- onDiff(changes): (() => void)
Parameters
- changes: ((changes: PathDataChange<any>[]) => void)
- (changes): void
Returns void
Returns (() => void)
onField:function
- onField(fieldName, handler): (() => void)
Parameters
- fieldName: string
- handler: ((result: ObjectFieldHandler) => void)
- (result): void
Returns void
Returns (() => void)
update:function
- update(changedPart): V
Returns V
Returns new value
updateField:function
- updateField(field, value): void
Returns void
Notifies of which field(s) were changed. If you just care about the whole, changed data use the
value
event.Use the returned function to unsubscribe.