From fe11d8a083fbdc29a94a7db978ff3fc8fc33c4d6 Mon Sep 17 00:00:00 2001 From: kouts Date: Mon, 5 Jun 2023 11:06:00 +0300 Subject: [PATCH] fix: added 5.0 release BREAKING CHANGE: renamed event names --- docs/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/index.md b/docs/index.md index 7b4679d..0dc0b00 100644 --- a/docs/index.md +++ b/docs/index.md @@ -36,3 +36,10 @@ A customizable, stackable, and lightweight modal component for Vue.js 3. | [Edge](http://godban.github.io/browsers-support-badges/)
Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | [Opera](http://godban.github.io/browsers-support-badges/)
Opera | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | + +## `vue-modal` 5.0 release + +The 5.0 release of `vue-modal` introduced the following **breaking changes**: + +- Renamed event names `after-close` to `closed` and `after-open` to `opened` +- Added a Plugin API so that modals can be opened and closed using a `name` prop.