@@ -130,38 +130,47 @@ It's easy to have a condition before open or before close the modal. So it's not
130130
131131### Delete Drag & Resize
132132
133- To keep vue-final-modal simple and easier to maintain, I decided to remove the Drag & Resize feature. So if you are using Drag & Resize, please staying at the 3.x releases.
133+ To keep vue-final-modal simple and easier to maintain, I decided to remove the Drag & Resize feature.
134+
135+ If you are using Drag & Resize, please consider staying at the 3.x releases.
136+
137+ Here is a new drag & resize example with an awesome library ` vue3-drag-resize ` :
138+ :: ReadMore { link =" /use-cases/use-cases/drag-resize-modal " }
139+ ::
134140
135141### Renamed properties
136142
137- | 3.x | 4.0 | Description |
138- | ----------------- | -------- | --- |
139- | ` name ` | [ modalId] ( /api/components/vue-final-modal#modalid ) | - |
140- | ` ssr ` | [ display-directive] ( /api/components/vue-final-modal#displaydirective ) | - |
141- | ` attach ` | [ teleportTo] ( /api/components/vue-final-modal#teleportto ) | Use ` <teleport> ` in Vue 3 |
142- | ` preventClick ` | [ background] ( /api/components/vue-final-modal#background ) | - |
143- | ` transition ` | [ contentTransition] ( /api/components/vue-final-modal#contenttransition ) | - |
143+ | 3.x | 4.0 | Description |
144+ | -------------- | ---------------------------------------------------------------------- | ---------------------- --- |
145+ | ` name ` | [ modalId] ( /api/components/vue-final-modal#modalid ) | - |
146+ | ` ssr ` | [ display-directive] ( /api/components/vue-final-modal#displaydirective ) | - |
147+ | ` attach ` | [ teleportTo] ( /api/components/vue-final-modal#teleportto ) | Use ` <teleport> ` in Vue 3 |
148+ | ` preventClick ` | [ background] ( /api/components/vue-final-modal#background ) | - |
149+ | ` transition ` | [ contentTransition] ( /api/components/vue-final-modal#contenttransition ) | - |
144150
145151### Deleted properties
146152
147- | 3.x | 4.0 |
148- | ----------------- | -------- |
149- | ` classes ` | Just use ` class ` |
150- | ` styles ` | Just use ` class ` |
151- | ` focusRetain ` | Merged into [ focusTrap] ( /api/components/vue-final-modal#focustrap ) |
152- | ` zIndexAuto ` | Replaced by [ zIndexFn] ( /api/components/vue-final-modal#zindexfn ) |
153- | ` zIndexBase ` | Replaced by [ zIndexFn] ( /api/components/vue-final-modal#zindexfn ) |
154- | ` zIndex ` | Replaced by [ zIndexFn] ( /api/components/vue-final-modal#zindexfn ) |
155- | ` drag ` | Not support ` Drag & Resize ` anymore |
156- | ` fitParent ` | Not support ` Drag & Resize ` anymore |
157- | ` dragSelector ` | Not support ` Drag & Resize ` anymore |
158- | ` keepChangedStyle ` | Not support ` Drag & Resize ` anymore |
159- | ` resize ` | Not support ` Drag & Resize ` anymore |
160- | ` resizeDirections ` | Not support ` Drag & Resize ` anymore |
161- | ` minWidth ` | Not support ` Drag & Resize ` anymore |
162- | ` minHeight ` | Not support ` Drag & Resize ` anymore |
163- | ` maxWidth ` | Not support ` Drag & Resize ` anymore |
164- | ` maxHeight ` | Not support ` Drag & Resize ` anymore |
153+ | 3.x | 4.0 |
154+ | ------------------ | ------------------------------------------------------------------ |
155+ | ` classes ` | Just use ` class ` |
156+ | ` styles ` | Just use ` class ` |
157+ | ` focusRetain ` | Merged into [ focusTrap] ( /api/components/vue-final-modal#focustrap ) |
158+ | ` zIndexAuto ` | Replaced by [ zIndexFn] ( /api/components/vue-final-modal#zindexfn ) |
159+ | ` zIndexBase ` | Replaced by [ zIndexFn] ( /api/components/vue-final-modal#zindexfn ) |
160+ | ` zIndex ` | Replaced by [ zIndexFn] ( /api/components/vue-final-modal#zindexfn ) |
161+ | ` drag ` | Not support ` Drag & Resize ` anymore |
162+ | ` fitParent ` | Not support ` Drag & Resize ` anymore |
163+ | ` dragSelector ` | Not support ` Drag & Resize ` anymore |
164+ | ` keepChangedStyle ` | Not support ` Drag & Resize ` anymore |
165+ | ` resize ` | Not support ` Drag & Resize ` anymore |
166+ | ` resizeDirections ` | Not support ` Drag & Resize ` anymore |
167+ | ` minWidth ` | Not support ` Drag & Resize ` anymore |
168+ | ` minHeight ` | Not support ` Drag & Resize ` anymore |
169+ | ` maxWidth ` | Not support ` Drag & Resize ` anymore |
170+ | ` maxHeight ` | Not support ` Drag & Resize ` anymore |
171+
172+ :: ReadMore { link =" /use-cases/use-cases/drag-resize-modal " }
173+ ::
165174
166175### Renamed APIs ` $vfm ` to ` useVfm `
167176
@@ -187,8 +196,8 @@ To keep vue-final-modal simple and easier to maintain, I decided to remove the D
187196 vfm .closeAll (... )
188197 ```
189198
190- | 3.x | 4.0 |
191- | -------- | -------- |
192- | ` $vfm.show() ` | [ vfm.open()] ( [/api/components/vue-final-modal#modalid](http://localhost:3000/api/composables/use-vfm#functions) ) |
193- | ` $vfm.hide() ` | [ vfm.close()] ( [/api/components/vue-final-modal#displaydirective](http://localhost:3000/api/composables/use-vfm#functions) ) |
194- | ` $vfm.hideAll() ` | [ vfm.closeAll()] ( [/api/components/vue-final-modal#teleportto](http://localhost:3000/api/composables/use-vfm#functions) ) |
199+ | 3.x | 4.0 |
200+ | ---------------- | ------------------------------------------------------------------------------------------------------------------ -------- |
201+ | ` $vfm.show() ` | [ vfm.open()] ( [/api/components/vue-final-modal#modalid](http://localhost:3000/api/composables/use-vfm#functions) ) |
202+ | ` $vfm.hide() ` | [ vfm.close()] ( [/api/components/vue-final-modal#displaydirective](http://localhost:3000/api/composables/use-vfm#functions) ) |
203+ | ` $vfm.hideAll() ` | [ vfm.closeAll()] ( [/api/components/vue-final-modal#teleportto](http://localhost:3000/api/composables/use-vfm#functions) ) |
0 commit comments