avrahamz

Results 3 comments of avrahamz

thanks patridgejiang my finall code var chemViewer = getChemViewer(); console.log(chemViewer.exportToDataUri( 'image/png'));

im testing this cm.on("beforeChange", function(_, change) { if (change.origin == "dragstart") change.cancel() if (change.origin == "dragenter") change.cancel() if (change.origin == "dragover") change.cancel() if (change.origin == "drop") change.cancel() }); cm.on('drop', function(data,...

maybe can change height to 99% https://jsfiddle.net/avrahamz/eya4wb3g/1/