Mercurial > hg > orthanc-stone
view Platforms/Wasm/default-library.js @ 286:6b3d91857b96 am-2
fix button titles
author | am@osimis.io |
---|---|
date | Tue, 28 Aug 2018 15:34:20 +0200 |
parents | f73d722d98c8 |
children | 2038d76bf13f |
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); } });