@pocketprep/ui-kit 3.4.16 → 3.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1122,6 +1122,11 @@ export default class Question extends Vue {
|
|
|
1122
1122
|
} as Study.Cloud.IQuizAnswer)
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
|
+
@Watch('showExplanation')
|
|
1126
|
+
showExplanationChanged () {
|
|
1127
|
+
this.emitUpdateShowExplanation()
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1125
1130
|
@Emit('close')
|
|
1126
1131
|
emitClose () {
|
|
1127
1132
|
return true
|
|
@@ -1151,6 +1156,11 @@ export default class Question extends Vue {
|
|
|
1151
1156
|
emitCheckAnswer (answer: Study.Cloud.IQuizAnswer) {
|
|
1152
1157
|
return answer
|
|
1153
1158
|
}
|
|
1159
|
+
|
|
1160
|
+
@Emit('update:showExplanation')
|
|
1161
|
+
emitUpdateShowExplanation () {
|
|
1162
|
+
return this.showExplanation
|
|
1163
|
+
}
|
|
1154
1164
|
}
|
|
1155
1165
|
</script>
|
|
1156
1166
|
|