Mercurial > gemma
diff client/src/components/App.vue @ 3857:6ce80daf8413
Hydrological conditions: render svg in offscreen element
Although one might create a dynamic element via document.createElement()
rendering to this dynamically element results in malformed PDF output.
Therefore the approach of an element within the DOM was chosen.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 09 Jul 2019 14:35:01 +0200 |
parents | 869505c5087b |
children | 6dfbf534818b |
line wrap: on
line diff
--- a/client/src/components/App.vue Tue Jul 09 14:22:01 2019 +0200 +++ b/client/src/components/App.vue Tue Jul 09 14:35:01 2019 +0200 @@ -29,6 +29,10 @@ <vue-snotify /> <Popup /> <KeyboardHandler /> + <div + id="offScreen" + style="position: absolute; z-index: -1; top: 600px;" + ></div> </div> </template>