V
V
Vyacheslav2019-02-08 14:58:24
Angular
Vyacheslav, 2019-02-08 14:58:24

How to share the generated html page on social networks?

There is a SPA- psychological test . The result is a chart using chart.js and some text. How to share this result in social networks?
I tried jspdf but this library does not accept Cyrillic.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2019-02-08
@matu1

write the test results to the object, put it in the database, create a link with a get parameter - the ID of the record in the database and load
it, or if there is no database, then simply generate a link in which you specify the data in the get parameters to fill in the desired page. and on the page itself, provide an option for filling with data from a get request
(for example) /result-page?p=12&a=34&e=56&i=78

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question