feat: add an option to determine whether to pause CSS animation when playback is paused (#428)

set pauseAnimation to true by default
This commit is contained in:
Lucky Feng
2020-11-27 16:16:18 +08:00
committed by GitHub
parent 8f3086c18c
commit 658999c6e0
4 changed files with 20 additions and 5 deletions

View File

@@ -404,6 +404,7 @@ export type playerConfig = {
insertStyleRules: string[];
triggerFocus: boolean;
UNSAFE_replayCanvas: boolean;
pauseAnimation?: boolean;
mouseTail:
| boolean
| {