export speed as props

This commit is contained in:
Yanzhen Yu
2020-10-01 15:24:57 +08:00
parent 1277dbd1df
commit 459f8249b6
2 changed files with 2 additions and 1 deletions

View File

@@ -18,13 +18,13 @@
export let skipInactive: boolean = true;
export let autoPlay: boolean = true;
export let speedOption: number[] = [1, 2, 4, 8];
export let speed: number = 1;
export let showController: boolean = true;
export let tags: Record<string, string> = {};
export const getMirror = () => mirror;
const controllerHeight = 80;
let speed = 1;
let player: HTMLElement;
let frame: HTMLElement;
let replayer: Replayer;