| API | Uses canvas | Graphics libraries | AB framework | Worlds using this API | Starter Worlds |
| TypeScript (r1) | No | None | No | 10 Worlds | Starter Worlds |
This API supports
TypeScript
in the browser.
The basic World is still JavaScript.
TypeScript code goes in a special marked section.
For most TypeScript coding, the TypeScript (pure) API (no JS, just TypeScript in editor) will be easier to use. However it takes care of a few things for you. If you do not like that, use this API to get full control of the page.
This API works as follows:
This API has further features:
$('body').css( "margin", "20px" );
$('body').css( "padding", "20px" );
Screenshots: