(value = !this.playerState.current.loop)
| 234 | } |
| 235 | |
| 236 | public toggleLoop(value = !this.playerState.current.loop) { |
| 237 | if (value !== this.playerState.current.loop) { |
| 238 | this.playerState.current = { |
| 239 | ...this.playerState.current, |
| 240 | loop: value, |
| 241 | }; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | public togglePlayback( |
| 246 | value: boolean = this.playerState.current.paused, |
no outgoing calls
no test coverage detected