HaxeFoundation / HaxeManual

The official Haxe manual
https://haxe.org/manual/
Creative Commons Attribution 4.0 International
218 stars 154 forks source link

Example of function binding as arguments #497

Closed Pidroh closed 2 years ago

Pidroh commented 2 years ago

I added an example that I always have trouble remembering to the documentation. I always google "haxe callback" and this is the number one page that appears so I added it here. Not sure if the jargon I'm using is correct.

Simn commented 2 years ago

This is the section about bind and you example doesn't use that.

You seem to be looking for https://haxe.org/manual/types-function.html.

Pidroh commented 2 years ago

@Simn you are absolutely right, sorry! Thanks for the clarification. Just wish that page appeared on google when googling for "haxe callback"