I have a webapp where I have various slides in different divs. In the left screen I have a list of all those slides as mini-thumbnails.
Is there a way to convert every slide div into SVG thumbnails?
I have a webapp where I have various slides in different divs. In the left screen I have a list of all those slides as mini-thumbnails.
Is there a way to convert every slide div into SVG thumbnails?
You can use html2canvas to achieve what you want.
http://html2canvas.hertzen.com/faq.html http://html2canvas.hertzen.com/
For a similar question, please refer to: Can html2canvas render svg in a page?
If these slides are described by svg element, you can use "use" element like this.
<!--main slide-->
<div>
<svg id="slide_1"></svg>
</div>
...
<!--thumbnail-->
<div>
<svg><use xlink:href="#slide_1"/></svg>
...
</div>