Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
3856:0b8b62fd8cea | 3857:6ce80daf8413 |
---|---|
27 </div> | 27 </div> |
28 <router-view /> | 28 <router-view /> |
29 <vue-snotify /> | 29 <vue-snotify /> |
30 <Popup /> | 30 <Popup /> |
31 <KeyboardHandler /> | 31 <KeyboardHandler /> |
32 <div | |
33 id="offScreen" | |
34 style="position: absolute; z-index: -1; top: 600px;" | |
35 ></div> | |
32 </div> | 36 </div> |
33 </template> | 37 </template> |
34 | 38 |
35 <style lang="sass" scoped> | 39 <style lang="sass" scoped> |
36 #app | 40 #app |