Important
|
Deprecated in 5.0. Please use setNamedParameter method in [class-event]. |
SetEventParameter(event, parameterName, value) => void
Set value of event’s named parameter.
event |
Event object, you can use predefined variable $event to refer to current event. |
|
parameterName |
String |
Parameter’s name. |
value |
String |
New value. |
Return
No return value
Example
SetEventParameter($event, "customParameter", "new value");