mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
add getScreenshotBlobUrl
This commit is contained in:
1 parent
078507356a
commit
965e3e008f
5 files changed
+51
-5
No files matched your search
@@ -60,12 +60,12 @@ export function debounce(func, wait, context) {
|
||||
fn.clearTimeout = function ct() {
|
||||
clearTimeout(timeout);
|
||||
};
|
||||
|
||||
|
||||
return fn;
|
||||
}
|
||||
|
||||
export function isObject(item) {
|
||||
return (item && typeof item === 'object' && !Array.isArray(item));
|
||||
return item && typeof item === 'object' && !Array.isArray(item);
|
||||
}
|
||||
|
||||
export function isElement(item) {
|
||||
@@ -179,4 +179,4 @@ export function downloadImage(url, name) {
|
||||
document.body.appendChild(elink);
|
||||
elink.click();
|
||||
document.body.removeChild(elink);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user