add init event

This commit is contained in:
Дмитрий Шульгачик
2018-09-03 14:26:46 +03:00
parent 64843dd5a6
commit 6047263ee1
2 changed files with 5 additions and 0 deletions

View File

@@ -100,6 +100,10 @@ export default {
this.view = this.createView()
this.commands = this.createCommands()
this.updateMenuActions()
this.$emit('init', {
view: this.view,
state: this.state,
})
},
createSchema() {