- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
var dockStation = new Vue({
el: '#dock',
data: {
enable: false,
text1: 'one',
text2: 'two',
text3: 'three',
concat: ''
},
watch: {
text1: function(v) {
this.concat = 'You listen:' + v + ' ' + this.text2+' '+this.text3;
},
text2: function(v) {
this.concat = 'You listen:' + this.text1+' '+v+' '+this.text3;
},
text3: function(v) {
this.concat = 'You listen:' + this.text1+' '+this.text2+' '+v;
},
}
});
codershitter 05.01.2020 03:12 # 0