You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gives you a parcel and a change request, diy action editing and dispatching madness if you really need control of action order and stuff.
Modify methods
The modify methods allow you to modify the data in a parcel in the middle of a chain of parcel function calls, without affecting the parcels real value. The data can be edited on the way down, when the parcel component is rendered; or on the way up, once a change takes place and a new value is being sent back up.
Their primary usage is if you need to store one kind of value in the parcel itself, but edit
The text was updated successfully, but these errors were encountered:
dxinteractive
changed the title
Add Parcel.modify, Parcel.update, Parcel.modifyChange and StaticParcels
Finalise and complete the modify methods
Nov 27, 2018
Kinda sorta proposed API
modifyDown() and modifyUp()
simple value-in value-out like ii => ii * 2
modifyShapeDown() and modifyShapeUp()
Gives you a StaticParcel (immutable.js-like parcel that doesnt have the two way binding), expects a StaticParcel to be returned.
modifyChange()
Gives you a parcel and a change request, diy action editing and dispatching madness if you really need control of action order and stuff.
Modify methods
The modify methods allow you to modify the data in a parcel in the middle of a chain of parcel function calls, without affecting the parcels real value. The data can be edited on the way down, when the parcel component is rendered; or on the way up, once a change takes place and a new value is being sent back up.
Their primary usage is if you need to store one kind of value in the parcel itself, but edit
The text was updated successfully, but these errors were encountered: