Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • object & {} & Vue<this>
    • Validatable

Index

Properties

$$

$$: JQueryStatic

Readonly $attrs

$attrs: Record<string, string>

Readonly $children

$children: Vue[]

$config

$config: NuxtRuntimeConfig

$cookies

$cookies: NuxtCookies

$createElement

$createElement: CreateElement

Readonly $data

$data: Record<string, any>

$delete

$delete: typeof delete

Readonly $el

$el: Element

$fetchState

$fetchState: { error: Error | null; pending: boolean; timestamp: number }

Type declaration

  • error: Error | null
  • pending: boolean
  • timestamp: number

Readonly $isServer

$isServer: boolean

Readonly $listeners

$listeners: Record<string, Function | Function[]>

$logger

$logger: LoggerFn

$md

$md: { render: any }

Type declaration

$nuxt

$nuxt: NuxtApp

Readonly $options

$options: ComponentOptions<Vue>

Readonly $parent

$parent: Vue

Readonly $props

$props: Record<string, any>

Readonly $refs

$refs: {}

Type declaration

  • [key: string]: Vue | Element | (Vue | Element)[] | undefined

Readonly $root

$root: Vue

$route

$route: Route

$router

$router: VueRouter

Readonly $scopedSlots

$scopedSlots: {}

Type declaration

  • [key: string]: NormalizedScopedSlot | undefined

$set

$set: typeof set

Readonly $slots

$slots: {}

Type declaration

  • [key: string]: VNode[] | undefined

Readonly $ssrContext

$ssrContext: any

$store

$store: Store<any>

$ustra

$ustra: UstraPlugin

Readonly $vnode

$vnode: VNode

Private _isValidateExecuted

_isValidateExecuted: boolean = false

Readonly validateGroup

validateGroup: DxValidationGroup

Static Vue

Vue: VueConstructor

Methods

$destroy

  • $destroy(): void
  • Returns void

$emit

  • $emit(event: string, ...args: any[]): this
  • Parameters

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

    Returns this

$fetch

  • $fetch(): void
  • Returns void

$forceUpdate

  • $forceUpdate(): void
  • Returns void

$meta

  • $meta(): VueMetaPlugin
  • Returns VueMetaPlugin

$mount

  • $mount(elementOrSelector?: Element | string, hydrating?: boolean): this
  • Parameters

    • Optional elementOrSelector: Element | string
    • Optional hydrating: boolean

    Returns this

$nextTick

  • $nextTick(callback: (this: this) => void): void
  • $nextTick(): Promise<void>
  • Parameters

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

          • this: this

          Returns void

    Returns void

  • Returns Promise<void>

$off

  • $off(event?: string | string[], callback?: Function): this
  • Parameters

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

    Returns this

$on

  • $on(event: string | string[], callback: Function): this
  • Parameters

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

    Returns this

$once

  • $once(event: string | string[], callback: Function): this
  • Parameters

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

    Returns this

$watch

  • $watch(expOrFn: string, callback: (this: this, n: any, o: any) => void, options?: WatchOptions): () => void
  • $watch<T>(expOrFn: (this: this) => T, callback: (this: this, n: T, o: T) => void, options?: WatchOptions): () => void
  • Parameters

    • expOrFn: string
    • callback: (this: this, n: any, o: any) => void
        • (this: this, n: any, o: any): void
        • Parameters

          • this: this
          • n: any
          • o: any

          Returns void

    • Optional options: WatchOptions

    Returns () => void

      • (): void
      • Returns void

  • Type parameters

    • T

    Parameters

    • expOrFn: (this: this) => T
        • (this: this): T
        • Parameters

          • this: this

          Returns T

    • callback: (this: this, n: T, o: T) => void
        • (this: this, n: T, o: T): void
        • Parameters

          • this: this
          • n: T
          • o: T

          Returns void

    • Optional options: WatchOptions

    Returns () => void

      • (): void
      • Returns void

Optional activated

  • activated(): void
  • Returns void

beforeCreate

  • beforeCreate(): void

Optional beforeDestroy

  • beforeDestroy(): void
  • Returns void

Optional beforeMount

  • beforeMount(): void
  • Returns void

Optional beforeRouteEnter

  • beforeRouteEnter(to: Route, from: Route, next: (to?: RawLocation | false | ((vm: Vue) => void)) => void): void
  • Parameters

    • to: Route
    • from: Route
    • next: (to?: RawLocation | false | ((vm: Vue) => void)) => void
        • (to?: RawLocation | false | ((vm: Vue) => void)): void
        • Parameters

          • Optional to: RawLocation | false | ((vm: Vue) => void)

          Returns void

    Returns void

Optional beforeRouteLeave

  • beforeRouteLeave(to: Route, from: Route, next: (to?: RawLocation | false | ((vm: Vue) => void)) => void): void
  • Parameters

    • to: Route
    • from: Route
    • next: (to?: RawLocation | false | ((vm: Vue) => void)) => void
        • (to?: RawLocation | false | ((vm: Vue) => void)): void
        • Parameters

          • Optional to: RawLocation | false | ((vm: Vue) => void)

          Returns void

    Returns void

Optional beforeRouteUpdate

  • beforeRouteUpdate(to: Route, from: Route, next: (to?: RawLocation | false | ((vm: Vue) => void)) => void): void
  • Parameters

    • to: Route
    • from: Route
    • next: (to?: RawLocation | false | ((vm: Vue) => void)) => void
        • (to?: RawLocation | false | ((vm: Vue) => void)): void
        • Parameters

          • Optional to: RawLocation | false | ((vm: Vue) => void)

          Returns void

    Returns void

Optional beforeUpdate

  • beforeUpdate(): void
  • Returns void

Optional created

  • created(): void
  • Returns void

Optional data

  • data(): object
  • Returns object

Optional deactivated

  • deactivated(): void
  • Returns void

Optional destroyed

  • destroyed(): void
  • Returns void

Optional errorCaptured

  • errorCaptured(err: Error, vm: Vue, info: string): boolean | undefined
  • Parameters

    • err: Error
    • vm: Vue
    • info: string

    Returns boolean | undefined

Private focusFirst

  • focusFirst(validResult: dxValidationGroupResult): void

initValidation

  • initValidation(): Promise<void>

Optional mounted

  • mounted(): void
  • Returns void

Optional render

  • render(createElement: CreateElement): VNode
  • Parameters

    • createElement: CreateElement

    Returns VNode

Protected renderValidateGroup

  • renderValidateGroup(children?: VNodeChildren): VNode

reset

  • reset(): Promise<void>

Optional serverPrefetch

  • serverPrefetch(): Promise<unknown>
  • Returns Promise<unknown>

Optional updated

  • updated(): void
  • Returns void

validate

  • validate(firstFocus?: boolean): Promise<dxValidationGroupResult>