1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

types(Notify): add missing teleport type ()

This commit is contained in:
inottn 2024-07-04 05:09:56 +08:00 committed by GitHub
parent d63bbf7212
commit 1a1a5c07c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,3 +1,4 @@
import type { TeleportProps } from 'vue';
import type { Numeric } from '../utils'; import type { Numeric } from '../utils';
export type NotifyMessage = Numeric; export type NotifyMessage = Numeric;
@ -16,6 +17,7 @@ export type NotifyOptions = {
className?: unknown; className?: unknown;
background?: string; background?: string;
lockScroll?: boolean; lockScroll?: boolean;
teleport?: TeleportProps['to'];
onClick?: (event: MouseEvent) => void; onClick?: (event: MouseEvent) => void;
onClose?: () => void; onClose?: () => void;
onOpened?: () => void; onOpened?: () => void;