Translations:User:NNikkhoui (WMF)/Sandbox/28/en

When an event occurs, the function (or object method) that you registered will be called, the event's parameters, along with any optional data you provided at registration.