Skip to content

v1.7.0

Compare
Choose a tag to compare
@javisperez javisperez released this 01 Nov 13:36
· 22 commits to master since this release

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:

For their help with these functionalities! 🤘