You can find more information about the core language API, here: http://api.haxe.org/js/

haxe.org JavaScript

Read more about Haxe and JavaScript in the manual: http://haxe.org/manual/target-javascript.html


JavaScript itself is beyond the scope of this resource - it is assumed that you already are familiar with it, and you are here to learn about the Haxe JavaScript target.

The following resources are worth checking out as a refresher:

All you learn from these resources about JavaScript is applicable here!

JavaScript Externs

Find most of the externs on haxelib. Check under the tag "js" (not all libs mentioned there are externs). Or "extern" (not all libs mentioned there are js externs)

In general, the API in Haxe will mirror the original API in JavaScript, but sometimes there are minor differences. If you have any questions, please get in contact with the maintainer of the lib.

For example

A popular JavaScript library is pixi.js.

Download the pixi.js extern via:

haxelib install pixijs

And if you visit the page on lib.haxe.org you can read more about the pixijs extern. For example:

results matching ""

    No results matching ""