export more public APIs to customize UI

This commit is contained in:
Yanzhen Yu
2020-08-22 00:39:29 +08:00
parent 6c9a48919b
commit 74cb44c16b
4 changed files with 31 additions and 21 deletions

View File

@@ -31,6 +31,9 @@
}
let timer: number | null = null;
let playerState: 'playing' | 'paused' | 'live';
$: {
dispatch('ui-update-player-state', { payload: playerState });
}
let speedState: 'normal' | 'skipping';
let progress: HTMLElement;
let step: HTMLElement;