https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40788 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- Second option which would take some development... In theory I think that we could use Vue.js mixins (https://vuejs.org/api/options-composition#mixins) to create and dispatch custom events. We could update koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts so it would be like "island_created", "island_mounted", etc. And then we could make sure the event had data in it so that the island itself could be located (like one does with a click handler using event.target). That could be cool. The usefulness will probably vary depending on the case I imagine. But that would just work for our Vue islands. For other Vue components... it gets harder because they get defined in all kinds of different places. Islands are handy because they're all managed through that one islands.ts file. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.