Skip to content

Commit 2acf79e

Browse files
committed
v4.18.1: vfModalRef
1 parent efc6046 commit 2acf79e

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@signal24/vue-foundation",
33
"type": "module",
4-
"version": "4.18.0",
4+
"version": "4.18.1",
55
"description": "Common components, directives, and helpers for Vue 3 apps",
66
"module": "./dist/vue-foundation.es.js",
77
"exports": {

src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import VfModal from './vf-modal.vue';
55
import VfSmartSelect from './vf-smart-select.vue';
66

77
export * from './alert-helpers';
8+
export * from './modal-helpers';
89
export * from './overlay-container';
910
export * from './toast-helpers';
1011

src/components/modal-helpers.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { ref } from 'vue';
2+
3+
import type VfModal from './vf-modal.vue';
4+
5+
export function vfModalRef() {
6+
return ref<InstanceType<typeof VfModal>>();
7+
}

0 commit comments

Comments
 (0)