Options
All
  • Public
  • Public/Protected
  • All
Menu

Options used in Message

Hierarchy

  • ElMessageOptions

Index

Properties

center?: boolean

Whether to center the text

customClass?: string

Custom class name for Message

dangerouslyUseHTMLString?: boolean

Whether message is treated as HTML string

duration?: number

Display duration, millisecond. If set to 0, it will not turn off automatically

iconClass?: string

Custom icon's class, overrides type

message: string | <internal>.VNode

Message text

offset?: number

Set the distance to the top of viewport. Default is 20 px.

Callback function when closed with the message instance as the parameter

showClose?: boolean

Whether to show a close button

Message type

Generated using TypeDoc