AmazingDreams / vue-matomo

Vue plugin for Matomo Analytics
MIT License
272 stars 60 forks source link

Get a "loaded" event triggered #124

Open augnustin opened 1 year ago

augnustin commented 1 year ago

this.$matomo is not available at once since it is asynchronously loaded. That's very fine.

But is there a way to being made aware that the pluggin is loaded?

Something like:

this.$matomo.$on('load', e => console.log('Do something!'));