Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Vue
    • ElMessageBoxComponent

Index

Constructors

Properties

Show an alert message box

$attrs: Record<string, string>
$children: Vue[]
$clipboardConfig: { appendToBody: boolean; autoSetContainer: boolean }

Type declaration

  • appendToBody: boolean
  • autoSetContainer: boolean

Show a confirm message box

$createElement: <internal>.CreateElement
$d: { (value: number | Date, key?: string, locale?: string): string; (value: number | Date, args?: {}): string; (value: number | Date, options?: DateTimeFormatOptions): string }

Type declaration

    • (value: number | Date, key?: string, locale?: string): string
    • (value: number | Date, args?: {}): string
    • (value: number | Date, options?: DateTimeFormatOptions): string
    • Parameters

      • value: number | Date
      • Optional key: string
      • Optional locale: string

      Returns string

    • Parameters

      • value: number | Date
      • Optional args: {}
        • [key: string]: string

      Returns string

    • Parameters

      Returns string

$data: Record<string, any>
$delete: { (object: object, key: string | number): void; <T>(array: T[], key: number): void }

Type declaration

    • (object: object, key: string | number): void
    • <T>(array: T[], key: number): void
    • Parameters

      • object: object
      • key: string | number

      Returns void

    • Type Parameters

      • T

      Parameters

      • array: T[]
      • key: number

      Returns void

$i18n: VueI18n & IVueI18n
$isServer: boolean
$listeners: Record<string, Function | Function[]>
$message: ElMessage

Used to show feedback after an activity. The difference with Notification is that the latter is often used to show a system level passive notification.

$msgbox: ElMessageBox

Show a message box

$n: { (value: number, key?: string, locale?: string): string; (value: number, args?: {}): string; (value: number, options?: NumberFormatOptions, locale?: string): string }

Type declaration

    • (value: number, key?: string, locale?: string): string
    • (value: number, args?: {}): string
    • (value: number, options?: NumberFormatOptions, locale?: string): string
    • Parameters

      • value: number
      • Optional key: string
      • Optional locale: string

      Returns string

    • Parameters

      • value: number
      • Optional args: {}
        • [key: string]: string

      Returns string

    • Parameters

      Returns string

Displays a global notification message at the upper right corner of the page

$parent: Vue

Show a prompt message box

$props: Record<string, any>
$refs: {}

Type declaration

$root: Vue
$scopedSlots: {}

Type declaration

$set: { <T>(object: object, key: string | number, value: T): T; <T>(array: T[], key: number, value: T): T }

Type declaration

    • <T>(object: object, key: string | number, value: T): T
    • <T>(array: T[], key: number, value: T): T
    • Type Parameters

      • T

      Parameters

      • object: object
      • key: string | number
      • value: T

      Returns T

    • Type Parameters

      • T

      Parameters

      • array: T[]
      • key: number
      • value: T

      Returns T

$slots: {}

Type declaration

$ssrContext: any
$store: Store<any>
$t: { (key: string, values?: Values): TranslateResult; (key: string, locale: string, values?: Values): TranslateResult }

Type declaration

$tc: { (key: string, choice?: number, values?: Values): string; (key: string, choice: number, locale: string, values?: Values): string }

Type declaration

    • (key: string, choice?: number, values?: Values): string
    • (key: string, choice: number, locale: string, values?: Values): string
    • Parameters

      • key: string
      • Optional choice: number
      • Optional values: Values

      Returns string

    • Parameters

      • key: string
      • choice: number
      • locale: string
      • Optional values: Values

      Returns string

$te: ((key: string, locale?: string) => boolean)

Type declaration

    • (key: string, locale?: string): boolean
    • Parameters

      • key: string
      • Optional locale: string

      Returns boolean

cancelButtonClass: string
cancelButtonLoading: boolean
cancelButtonText: string
confirmButtonClass: string
confirmButtonDisabled: boolean
confirmButtonLoading: boolean
confirmButtonText: string
customClass: string
dangerouslyUseHTMLString: boolean
editorErrorMessage: string
iconClass: string
inputErrorMessage: string
inputPattern: RegExp
inputPlaceholder: string
inputType: string
inputValidator: MessageBoxInputValidator
inputValue: string
message: string
showCancelButton: boolean
showClose: boolean
showConfirmButton: boolean
showInput: boolean
title: string
util: { warn: any }

Type declaration

  • warn:function
    • Parameters

      Returns void

version: string

Methods

  • $destroy(): void
  • Returns void

  • Parameters

    • event: string
    • Rest ...args: any[]

    Returns ElMessageBoxComponent

  • $forceUpdate(): void
  • Returns void

  • If you do not have a specific DOM node to attach the Loading directive, or if you simply prefer not to use Loading as a directive, you can call this service with some configs to open a Loading instance.

    Parameters

    Returns ElLoadingComponent

  • Returns MetaInfo

  • Parameters

    Returns ElMessageBoxComponent

  • Parameters

    Returns void

  • Returns Promise<void>

  • Parameters

    • Optional event: string | string[]
    • Optional callback: Function

    Returns ElMessageBoxComponent

  • Parameters

    • event: string | string[]
    • callback: Function

    Returns ElMessageBoxComponent

  • Parameters

    • event: string | string[]
    • callback: Function

    Returns ElMessageBoxComponent

  • compile(template: string): { staticRenderFns: (() => <internal>.VNode)[]; render: any }
  • Parameters

    • template: string

    Returns { staticRenderFns: (() => <internal>.VNode)[]; render: any }

  • delete(object: object, key: string | number): void
  • delete<T>(array: T[], key: number): void
  • Parameters

    • object: object
    • key: string | number

    Returns void

  • Type Parameters

    • T

    Parameters

    • array: T[]
    • key: number

    Returns void

  • filter(id: string, definition?: Function): Function
  • Parameters

    • id: string
    • Optional definition: Function

    Returns Function

  • nextTick<T>(callback: ((this: T) => void), context?: T): void
  • nextTick(): Promise<void>
  • Type Parameters

    • T

    Parameters

    • callback: ((this: T) => void)
        • (this: T): void
        • Parameters

          • this: T

          Returns void

    • Optional context: T

    Returns void

  • Returns Promise<void>

  • observable<T>(obj: T): T
  • Type Parameters

    • T

    Parameters

    • obj: T

    Returns T

  • set<T>(object: object, key: string | number, value: T): T
  • set<T>(array: T[], key: number, value: T): T
  • Type Parameters

    • T

    Parameters

    • object: object
    • key: string | number
    • value: T

    Returns T

  • Type Parameters

    • T

    Parameters

    • array: T[]
    • key: number
    • value: T

    Returns T

Generated using TypeDoc