v1.7.0
Changes:
- Clicking on the backdrop now closes the vuedal
- The index function to close vuedal instance now passes all the open vuedals objects. See below for more details.
Breaking change:
Now the $index
function that would close a specific Vuedal instance index, passes the close data
and all the vuedals instances as first and second argument respectively, instead of the current instance only.
e.g.:
Instead of:
...
$index(current) {
return current - 1;
}
...
you need to do:
...
$index(data, vuedals) {
const current = vuedals.length - 1;
return current - 1;
}
...
That way you can have control of the whole Vuedals instances.
Contributors
Thanks to:
- @msonowal
- @werkzeugh
For their help with these functionalities! 🤘