THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
A hint that specifies a value to override the binding element for keyboard inputs for Emscripten builds.
#window |
the JavaScript window object (this is the default) |
#document |
the JavaScript document object |
#screen |
the JavaScript window.screen object |
#canvas |
the default WebGL canvas element |
Any other string without a leading # sign applies to the element on the page with that ID.
By default SDL will use the JavaScript window object.
This hint only applies to the Emscripten platform.
This hint is available since SDL 2.0.4.
CategoryDefine, CategoryHints, CategoryDraft