P
P
Philip Gavrilov2018-05-03 16:10:11
JavaScript
Philip Gavrilov, 2018-05-03 16:10:11

How to make a screenshot of a block and display this screen when switching to another page?

The appearance of the product is generated right on the page from different components. Then this assembly must be shown in the basket with a preview, but it is not rational to arrange the generation there again.

There is an idea to simply make a screenshot of the block where the product is generated and display this screen when going to the basket. Any ideas for something like this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-05-03
@xpert13

https://github.com/niklasvh/html2canvas

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question