Changeset 35603 for main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/WordTimingSelector.vue
- Timestamp:
- 2021-10-15T10:50:08+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/WordTimingSelector.vue
r35602 r35603 123 123 } 124 124 }, 125 emits: [ " update:surroundingWords" ],125 emits: [ "wordUpdated" ], 126 126 computed: { 127 127 word() { … … 338 338 }, 339 339 updateSurroundingWords() { 340 const updatedWords = [];341 342 340 for (let i = 0; i < this.mySurroundingWords.length; i++) { 343 updatedWords.push( 344 this.convertMyWord(this.mySurroundingWords[i], this.surroundingWords[i]) 345 ); 346 } 347 348 console.log(updatedWords); 349 this.$emit("update:surroundingWords", updatedWords); 341 const updatedWord = this.convertMyWord(this.mySurroundingWords[i], this.surroundingWords[i]); 342 this.$emit("wordUpdated", i, updatedWord); 343 } 350 344 }, 351 345 convertMyWord(myWord, actualWord) {
Note:
See TracChangeset
for help on using the changeset viewer.