vuea11ymodaldialogtinyvue-modalrenderless-componentsvue-dialogstackablevue3vue-final-modal Resources Readme License MIT license Activity Custom properties Stars 902stars Watchers 6watching Forks 99forks Report repository Releases131 Release 4.5.5Latest ...
"vue-final-modal": "^3.4.11" -> upgrade to "vue-final-modal": "^4.4.5", "vue": "^3.3.4", with composition API, TS, vite OS Windows After build command I got an error TS2305: Module '"vue-final-modal"' has no exported member 'ModalsContainer'....
UNPKG vue-final-modal/dist/dom.d.ts Version: 180 BTypeScriptView Raw 1 export declare const getPosition: (e: TouchEvent | MouseEvent) => { 2 x: number; 3 y: number; 4 }; 5 export declare function checkPassiveEventSupport(document: Document): boolean; ...
Files 48a2350 dist docs example lib VueFinalModal.vue dom.js focusTrap.js index.js .babelrc .browserslistrc .eslintignore .eslintrc.js .gitignore .prettierrc.yaml LICENSE README.md package.json rollup.config.js yarn.lock
1 import VueFinalModal from './components/VueFinalModal/VueFinalModal.vue'; 2 import type CoreModal from './components/CoreModal/CoreModal.vue'; 3 import type { ComponentProps, Constructor, InternalVfm, RawProps, UseModalOptions, UseModalReturnType, Vfm } from './Modal'; ...
原因:element-ui 是在 document 上通过监听 mousedown 和 mouseup 事件-来组合判断是否点击的外部【可查看 element-ui 的自定义指令 v-clickoutside】 vue-final-modal 在 .vfm__content dom 上使用 e.st
1 import { App, Ref, SetupContext, EmitsOptions, ComponentPublicInstance, Component } from 'vue' 2 3 export interface VfmOptions { 4 key?: string 5 componentName?: string 6 dynamicContainerName?: string 7 } 8 9 type VueFinalModal = (options?: VfmOptions) => { 10 install...
2 import type CoreModal from './components/CoreModal/CoreModal.vue'; 3export declare function useSwipeToClose(props: InstanceType<typeof CoreModal>['$props'], options: { 4 vfmContentEl: Ref<HTMLDivElement | undefined>; 5 modelValueLocal: Ref<boolean>; ...
Release 4.5.3 hunterliu1003committed · 1 / 1 5e6ea7c chore: bump 4.5.2 hunterliu1003committed · 1 / 1 dddda00 Release 4.5.2 hunterliu1003committed d766fe5 fix: export Component helper type hunterliu1003committed b0b7427 chore: bump 4.5.1 hunterliu1003committed · 1 / 1 0fc49f5...
In the browser console, closing a dynamic modal always throws the error: enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS device Environment: Vue3 - globally registered vue-final-modal so calling this.$vfm.show works everywhere Chrome The dynamic ...