VantNtDialogOptions
VantNtDialogOptions: { allowHtml?: boolean; beforeClose?: (action: DialogAction, done: DialogDone) => void; cancelButtonColor?: string; cancelButtonText?: string; className?: any; closeOnClickOverlay?: boolean; closeOnPopstate?: boolean; confirmButtonColor?: string; confirmButtonText?: string; getContainer?: string | (() => Element); lockScroll?: boolean; message?: string; messageAlign?: string; overlay?: boolean; overlayClass?: string; overlayStyle?: object; showCancelButton?: boolean; showConfirmButton?: boolean; theme?: string; title?: string; transition?: string; width?: string | number }
Type declaration
-
Optional allowHtml?: boolean
-
Optional beforeClose?: (action: DialogAction, done: DialogDone) => void
-
- (action: DialogAction, done: DialogDone): void
-
Parameters
-
action: DialogAction
-
done: DialogDone
Returns void
-
Optional cancelButtonColor?: string
-
Optional cancelButtonText?: string
-
Optional className?: any
-
Optional closeOnClickOverlay?: boolean
-
Optional closeOnPopstate?: boolean
-
Optional confirmButtonColor?: string
-
Optional confirmButtonText?: string
-
Optional getContainer?: string | (() => Element)
-
Optional lockScroll?: boolean
-
Optional message?: string
-
Optional messageAlign?: string
-
Optional overlay?: boolean
-
Optional overlayClass?: string
-
Optional overlayStyle?: object
-
Optional showCancelButton?: boolean
-
Optional showConfirmButton?: boolean
-
Optional theme?: string
-
Optional title?: string
-
Optional transition?: string
-
Optional width?: string | number
通知配置