Do.AlterArgs Class
Defined in:
Module: event-custom-baseyui3/src/event-custom/js/event-do.js:306
Parent Module: event-custom
Return an AlterArgs object when you want to change the arguments that were passed into the function. Useful for Do.before subscribers. An example would be a service that scrubs out illegal characters prior to executing the core business logic.
Constructor
Do.AlterArgs
(
-
msg
-
newArgs
Parameters:
-
msg
String(optional) Explanation of the altered return value
-
newArgs
ArrayCall parameters to be used for the original method instead of the arguments originally passed in.