0

Please explain callback function.

All i know is you pass a function as an argument to another function.

18th Jul 2018, 2:55 AM
Akib
Akib - avatar
2 Réponses
+ 4
It is a function, that is called by an event eg mouseclick. So you dont call the function yourself but tell the eventhandler to call it. (what is the passing to another func)
18th Jul 2018, 3:24 AM
Oma Falk
Oma Falk - avatar
0
Oma Falk I saw it in a example. So got confused. Thank you for explaining.
18th Jul 2018, 4:19 AM
Akib
Akib - avatar