diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-23 15:22:01 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-23 15:22:01 +1000 |
| commit | ebc481e62a56168bdbcb31df0f97eddf262d346a (patch) | |
| tree | 8232065316d5bfd037d6e4414102406282d5db39 /src/components/TutorialPane.vue | |
| parent | d54e1a4607debb457d30068cc4d20fe92cedac6c (diff) | |
Adjust component event names
Diffstat (limited to 'src/components/TutorialPane.vue')
| -rw-r--r-- | src/components/TutorialPane.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/TutorialPane.vue b/src/components/TutorialPane.vue index 18628f8..d34456d 100644 --- a/src/components/TutorialPane.vue +++ b/src/components/TutorialPane.vue @@ -58,7 +58,7 @@ export default defineComponent({ this.sendEnabledFeatures(); }, onClose(){ - this.$emit('tutorial-close'); + this.$emit('close'); }, sendEnabledFeatures(){ const stageActions = [ @@ -72,7 +72,7 @@ export default defineComponent({ } disabledActions.delete(stageActions[this.stage] as Action); let triggerAction = stageActions[this.stage] as Action; - this.$emit('tutorial-stage-chg', disabledActions, triggerAction); + this.$emit('stage-chg', disabledActions, triggerAction); }, }, created(){ @@ -81,7 +81,7 @@ export default defineComponent({ } }, components: {CloseIcon, RButton, }, - emits: ['tutorial-close', 'tutorial-stage-chg', ], + emits: ['close', 'stage-chg', ], }); </script> |
