Open thepurpleblob opened 1 year ago
Ok - I was a bit unfair, it does actually say "Pages[]" so (upgrading from V2) it's changed to an array.
However, it's not at all clear (to me) why it is now an array. Also, the behaviour is different - it's now triggering much more often than it did in the previous version. So, a brief explanation of the circumstances for triggering this event (and the other ones) plus an example would be incredibly helpful :)
Documentation is incomplete (or I'm being really stupid)
Example. If I want to use @update:pages event the documentation just links to an Interface declaration. But how do I actually get this data to the function that I declare. If I use the old V2 style
@update:pages="myupdatefunction"
function myupdatefunction(page) {}
...then 'page' is undefined. So how do I get the data over to my function in V3?