Skip to content
On this page

Interface: NModalFuncProps ​

Hierarchy ​

  • ModalProps

    ↳ NModalFuncProps

Properties ​

afterClose ​

Optional afterClose: () => void

Type declaration ​

(): void

Returns ​

void

Inherited from ​

ModalProps.afterClose

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:25


bodyStyle ​

Optional bodyStyle: CSSProperties

Inherited from ​

ModalProps.bodyStyle

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:152


cancelButtonProps ​

Optional cancelButtonProps: Partial<ExtractPropTypes<{ block: { default: any ; type: BooleanConstructor } ; danger: { default: any ; type: BooleanConstructor } ; disabled: { default: any ; type: BooleanConstructor } ; ghost: { default: any ; type: BooleanConstructor } ; href: StringConstructor ; htmlType: { default: string ; type: PropType<ButtonHTMLType> } ; icon: VueTypeValidableDef<any> ; loading: { default: () => boolean | { delay?: number } ; type: PropType<boolean | { delay?: number }> } ; onClick: { type: PropType<(event: MouseEvent) => void> } ; onMousedown: { type: PropType<(event: MouseEvent) => void> } ; prefixCls: StringConstructor ; shape: { type: PropType<ButtonShape> } ; size: { type: PropType<SizeType> } ; target: StringConstructor ; title: StringConstructor ; type: PropType<ButtonType> }>>

Inherited from ​

ModalProps.cancelButtonProps

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:92


cancelText ​

Optional cancelText: any

Inherited from ​

ModalProps.cancelText

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:34


centered ​

Optional centered: boolean

Inherited from ​

ModalProps.centered

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:26


closable ​

Optional closable: boolean

Inherited from ​

ModalProps.closable

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:16


closeIcon ​

Optional closeIcon: any

Inherited from ​

ModalProps.closeIcon

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:20


confirmLoading ​

Optional confirmLoading: boolean

Inherited from ​

ModalProps.confirmLoading

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:11


content ​

Optional content: string | VNode<RendererNode, RendererElement, { [key: string]: any; }> | () => VNode<RendererNode, RendererElement, { [key: string]: any; }>

Defined in ​

dist/src/components/n-modal/modal-types.d.ts:20


destroyOnClose ​

Optional destroyOnClose: boolean

Inherited from ​

ModalProps.destroyOnClose

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:140


focusTriggerAfterClose ​

Optional focusTriggerAfterClose: boolean

Inherited from ​

ModalProps.focusTriggerAfterClose

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:169


Optional footer: any

Inherited from ​

ModalProps.footer

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:31


forceRender ​

Optional forceRender: boolean

Inherited from ​

ModalProps.forceRender

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:40


getContainer ​

Optional getContainer: string | false | HTMLElement | getContainerFunc

Inherited from ​

ModalProps.getContainer

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:147


icon ​

Optional icon: any

Inherited from ​

ModalProps.icon

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:35


keyboard ​

Optional keyboard: boolean

Inherited from ​

ModalProps.keyboard

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:164


mask ​

Optional mask: boolean

Inherited from ​

ModalProps.mask

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:160


maskClosable ​

Optional maskClosable: boolean

Inherited from ​

ModalProps.maskClosable

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:36


maskStyle ​

Optional maskStyle: CSSProperties

Inherited from ​

ModalProps.maskStyle

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:156


maskTransitionName ​

Optional maskTransitionName: string

Inherited from ​

ModalProps.maskTransitionName

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:145


modalRender ​

Optional modalRender: (arg: { originVNode: VueNode }) => VueNode

Type declaration ​

(arg): VueNode

Parameters ​
NameType
argObject
arg.originVNodeVueNode
Returns ​

VueNode

Inherited from ​

ModalProps.modalRender

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:173


okButtonProps ​

Optional okButtonProps: Partial<ExtractPropTypes<{ block: { default: any ; type: BooleanConstructor } ; danger: { default: any ; type: BooleanConstructor } ; disabled: { default: any ; type: BooleanConstructor } ; ghost: { default: any ; type: BooleanConstructor } ; href: StringConstructor ; htmlType: { default: string ; type: PropType<ButtonHTMLType> } ; icon: VueTypeValidableDef<any> ; loading: { default: () => boolean | { delay?: number } ; type: PropType<boolean | { delay?: number }> } ; onClick: { type: PropType<(event: MouseEvent) => void> } ; onMousedown: { type: PropType<(event: MouseEvent) => void> } ; prefixCls: StringConstructor ; shape: { type: PropType<ButtonShape> } ; size: { type: PropType<SizeType> } ; target: StringConstructor ; title: StringConstructor ; type: PropType<ButtonType> }>>

Inherited from ​

ModalProps.okButtonProps

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:44


okText ​

Optional okText: any

Inherited from ​

ModalProps.okText

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:32


okType ​

Optional okType: LegacyButtonType

Inherited from ​

ModalProps.okType

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:33


onCancel ​

Optional onCancel: (e: MouseEvent) => void

Type declaration ​

(e): void

Parameters ​
NameType
eMouseEvent
Returns ​

void

Inherited from ​

ModalProps.onCancel

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:22


onChange ​

Optional onChange: (visible: boolean) => void

Type declaration ​

(visible): void

Parameters ​
NameType
visibleboolean
Returns ​

void

Inherited from ​

ModalProps.onChange

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:24


onOk ​

Optional onOk: (e: MouseEvent) => void

Type declaration ​

(e): void

Parameters ​
NameType
eMouseEvent
Returns ​

void

Inherited from ​

ModalProps.onOk

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:21


onUpdate:visible ​

Optional onUpdate:visible: (visible: boolean) => void

Type declaration ​

(visible): void

Parameters ​
NameType
visibleboolean
Returns ​

void

Inherited from ​

ModalProps.onUpdate:visible

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:23


prefixCls ​

Optional prefixCls: string

Inherited from ​

ModalProps.prefixCls

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:6


title ​

Optional title: any

Inherited from ​

ModalProps.title

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:15


transitionName ​

Optional transitionName: string

Inherited from ​

ModalProps.transitionName

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:146


visible ​

Optional visible: boolean

Inherited from ​

ModalProps.visible

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:7


width ​

Optional width: string | number

Inherited from ​

ModalProps.width

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:30


wrapClassName ​

Optional wrapClassName: string

Inherited from ​

ModalProps.wrapClassName

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:144


wrapProps ​

Optional wrapProps: Record<string, any>

Inherited from ​

ModalProps.wrapProps

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:168


zIndex ​

Optional zIndex: number

Inherited from ​

ModalProps.zIndex

Defined in ​

node_modules/ant-design-vue/lib/modal/Modal.d.ts:151