mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
21 lines
443 B
TypeScript
21 lines
443 B
TypeScript
import type Artplayer from 'artplayer';
|
|
|
|
export = artplayerPluginAmbilight;
|
|
export as namespace artplayerPluginAmbilight;
|
|
|
|
type Option = {
|
|
blur?: string;
|
|
opacity?: number;
|
|
frequency?: number;
|
|
zIndex?: number;
|
|
duration?: number;
|
|
};
|
|
|
|
type Result = {
|
|
name: 'artplayerPluginAmbilight';
|
|
start: () => void;
|
|
stop: () => void;
|
|
};
|
|
|
|
declare const artplayerPluginAmbilight: (option: Option) => (art: Artplayer) => Result;
|