Mercurial > hg > orthanc-stone
view Platforms/WebAssembly/default-library.js @ 233:68856534f005 am
added layout to VSOL, SDL & wasm working
author | am@osimis.io |
---|---|
date | Fri, 15 Jun 2018 14:29:25 +0200 |
parents | 5027cb2feb51 |
children |
line wrap: on
line source
// this file contains the JS method you want to expose to C++ code mergeInto(LibraryManager.library, { ScheduleWebViewportRedrawFromCpp: function(cppViewportHandle) { ScheduleWebViewportRedraw(cppViewportHandle); }, CreateWasmViewportFromCpp: function(htmlCanvasId) { return CreateWasmViewport(htmlCanvasId); } });