-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
I got Event error when I run it on Safari 8.0.7
OOOOOOOPS, something went wrong!
Event
bubbles: false
cancelBubble: false
cancelable: false
clipboardData: undefined
currentTarget: null
defaultPrevented: false
eventPhase: 0
returnValue: true
srcElement: null
target: null
timeStamp: 1459283334222
type: "error"
__proto__: EventPrototype
the function I ran is like the following
function () {
domtoimage.toPng(document.querySelector('body'))
.then(function (dataUrl) {
var img = new Image();
img.src = dataUrl;
document.body.appendChild(img);
})
.catch(function (error) {
console.error('OOOOOOOOPS, something went wrong!', error);
});
}
sanjaysamant and damnv
Metadata
Metadata
Assignees
Labels
No labels