screenshopt page #1

Closed
opened 2022-02-21 17:27:02 +01:00 by troy-grunt · 0 comments
Owner

const screenshotTarget = document.body;

html2canvas(screenshotTarget).then((canvas) => {
const base64image = canvas.toDataURL("image/png");
window.location.href = base64image;
});

https://hackernoon.com/how-to-take-screenshots-in-the-browser-using-javascript-l92k3xq7

const screenshotTarget = document.body; html2canvas(screenshotTarget).then((canvas) => { const base64image = canvas.toDataURL("image/png"); window.location.href = base64image; }); https://hackernoon.com/how-to-take-screenshots-in-the-browser-using-javascript-l92k3xq7
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pub/cssjs-func-lib#1
No description provided.