These docs are for an old release.
Info on upgrading to v6
resourceChange
Called after a resource has been modified in some way.
function( changeInfo )
This fires after Resource::setProp or Resource::setExtendedProp is called.
The changeInfo
argument has the following properties:
resource | a Resource Object with the updated changed data |
---|---|
oldResource | a Resource Object with data prior to the change |
revert | a function that can be called to reverse this action |