+ socket.on(message.studentBlur, m => {
+ const sIdx = this.students.findIndex( item => { return item.number == m.number; });
+ Vue.set(this.students, sIdx, Object.assign({},this.students[sIdx],{blur: true}));
+ //this.students[sIdx].blur = true;
+ });
+ socket.on(message.studentFocus, m => {
+ const sIdx = this.students.findIndex( item => { return item.number == m.number; });
+ this.students[sIdx].blur = false;
+ });
+ socket.on(message.studentResize, m => {
+ const sIdx = this.students.findIndex( item => { return item.number == m.number; });
+ Vue.set(this.students, sIdx, Object.assign({},this.students[sIdx],{resize: true}));
+ //this.students[sIdx].resize = true;
+ });
+ socket.on(message.studentFullscreen, m => {
+ const sIdx = this.students.findIndex( item => { return item.number == m.number; });
+ this.students[sIdx].resize = false;
+ });
+ socket.on(message.studentDisconnect, m => {
+ const sIdx = this.students.findIndex( item => { return item.number == m.number; });
+ Vue.set(this.students, sIdx, Object.assign({},this.students[sIdx],{disco: true}));
+ //this.students[sIdx].disco = true;
+ });
+ socket.on(message.studentConnect, m => {
+ const sIdx = this.students.findIndex( item => { return item.number == m.number; });
+ this.students[sIdx].disco = false;
+ });