Archived
2
0

npm lint.

This commit is contained in:
Miroslav Šedivý
2023-01-28 21:54:26 +01:00
parent 12623866b3
commit dfe8b8b57d
24 changed files with 48 additions and 53 deletions

View File

@ -339,12 +339,12 @@
}
@Watch('width')
onWidthChanged(width: number) {
onWidthChanged() {
this.onResize()
}
@Watch('height')
onHeightChanged(height: number) {
onHeightChanged() {
this.onResize()
}
@ -444,7 +444,7 @@
this.$accessor.video.setPlayable(false)
})
this._video.addEventListener('volumechange', (event) => {
this._video.addEventListener('volumechange', () => {
this.$accessor.video.setMuted(this._video.muted)
this.$accessor.video.setVolume(this._video.volume * 100)
})