Custom conversion to and from JSON
Apply the actual transformation. It must be pure (i.e. with no side effects). Returns a task that produces the result of the result directly.
Determine if the transformer can be applied automatically on UI change. Default is false.
Cleanup resources
Automatically called on deleting an object and on recreating it (i.e. when update returns UpdateResult.Recreate or UpdateResult.Null)
Not called on UpdateResult.Updated because the resources might not have been invalidated. In this case, the possible cleanup has to be handled manually.
Parameter interpolation
Test if the transform can be applied to a given node
By default, returns true
Attempts to update the entity in a non-destructive way. For example changing a color scheme of a visual does not require computing new geometry. Return/resolve to undefined if the update is not possible.
Generated using TypeDoc
Specify default control descriptors for the parameters