mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
[new feauture] Notify: add onClose option
This commit is contained in:
1
types/notify.d.ts
vendored
1
types/notify.d.ts
vendored
@@ -9,6 +9,7 @@ export type NotifyOptions = {
|
||||
duration?: number;
|
||||
className?: any;
|
||||
background?: string;
|
||||
onClose?: (() => void) | null;
|
||||
onClick?: ((event: Event) => void) | null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user