mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
first commit
This commit is contained in:
commit
d71da296b2
66 files changed
+7363
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
function saveCanvas() {
|
||||
saveCanvasButton.download = "image.png";
|
||||
saveCanvasButton.href = canvas
|
||||
.toDataURL("image/png")
|
||||
.replace("image/png", "image/octet-stream");
|
||||
}
|
||||
|
||||
function goFullScreen() {
|
||||
if (canvas.requestFullScreen) canvas.requestFullScreen();
|
||||
else if (canvas.webkitRequestFullScreen) canvas.webkitRequestFullScreen();
|
||||
else if (canvas.mozRequestFullScreen) canvas.mozRequestFullScreen();
|
||||
}
|
||||
Reference in new issue
Block a user