mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
update player.d.ts
This commit is contained in:
1 parent
443afeb496
commit
27cf18a997
3 files changed
+729
-695
No files matched your search
Vendored
+727
-694
File diff suppressed because it is too large.
Load diff
@@ -248,7 +248,7 @@ class Artplayer extends (0, _emitterDefault.default) {
|
|||||||
return "development";
|
return "development";
|
||||||
}
|
}
|
||||||
static get build() {
|
static get build() {
|
||||||
return "2023-04-17 22:43:27";
|
return "2023-04-17 22:48:49";
|
||||||
}
|
}
|
||||||
static get config() {
|
static get config() {
|
||||||
return 0, _configDefault.default;
|
return 0, _configDefault.default;
|
||||||
|
|||||||
Vendored
+1
@@ -63,6 +63,7 @@ export declare class Player {
|
|||||||
play(): Promise<void>;
|
play(): Promise<void>;
|
||||||
toggle(): void;
|
toggle(): void;
|
||||||
attr(key: string, value?: any): unknown;
|
attr(key: string, value?: any): unknown;
|
||||||
|
cssVar(key: `--art-${string}`, value?: string): unknown;
|
||||||
switchUrl(url: string): Promise<string>;
|
switchUrl(url: string): Promise<string>;
|
||||||
switchQuality(url: string): Promise<string>;
|
switchQuality(url: string): Promise<string>;
|
||||||
getDataURL(): Promise<string>;
|
getDataURL(): Promise<string>;
|
||||||
|
|||||||
Reference in new issue
Block a user