UNPKG

@tencentcloud/chat-cs-uniapp

Version:

TCCC uniapp UIKit

2 lines (1 loc) 983 B
var e,t,n;Component({relations:(e={},t="../index",n={type:"ancestor"},t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e),data:{playerList:[]},methods:{setPlayerList:function(e){this.setData({playerList:e})},_playerStateChange:function(e){var t=this.getRelationNodes("../index");t.length>0?t.forEach((function(t){t._playerStateChange(e)})):this.triggerEvent("_playerStateChange",e)},_playerFullscreenChange:function(e){var t=this.getRelationNodes("../index");t.length>0?t.forEach((function(t){t._playerFullscreenChange(e)})):this.triggerEvent("_playerFullscreenChange",e)},_playerNetStatus:function(e){var t=this.getRelationNodes("../index");t.length>0?t.forEach((function(t){t._playerNetStatus(e)})):this.triggerEvent("_playerNetStatus",e)},_playerAudioVolumeNotify:function(e){var t=this.getRelationNodes("../index");t.length>0?t.forEach((function(t){t._playerAudioVolumeNotify(e)})):this.triggerEvent("_playerAudioVolumeNotify",e)}}});