Skip to content

@vtj / Modules / renderer / Context

Class: Context

renderer.Context

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Context(options): Context

Parameters

NameType
optionsContextOptions

Returns

Context

Defined in

packages/renderer/types/render/context.d.ts:40

Properties

$apis

$apis: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:38


$attrs

$attrs: any

Defined in

packages/renderer/types/render/context.d.ts:31


$components

$components: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:36


$el

$el: any

Defined in

packages/renderer/types/render/context.d.ts:26


$emit

$emit: any

Defined in

packages/renderer/types/render/context.d.ts:27


$forceUpdate

$forceUpdate: any

Defined in

packages/renderer/types/render/context.d.ts:35


$libs

$libs: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:37


$nextTick

$nextTick: any

Defined in

packages/renderer/types/render/context.d.ts:28


$options

$options: any

Defined in

packages/renderer/types/render/context.d.ts:34


$parent

$parent: any

Defined in

packages/renderer/types/render/context.d.ts:29


$props

$props: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:24


$refs

$refs: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:25


$root

$root: any

Defined in

packages/renderer/types/render/context.d.ts:30


$slots

$slots: any

Defined in

packages/renderer/types/render/context.d.ts:32


$watch

$watch: any

Defined in

packages/renderer/types/render/context.d.ts:33


__cleanup

Private __cleanup: any

Defined in

packages/renderer/types/render/context.d.ts:43


__contextRefs

__contextRefs: Record<string, Context>

Defined in

packages/renderer/types/render/context.d.ts:19


__id

__id: null | string

Defined in

packages/renderer/types/render/context.d.ts:16


__instance

__instance: any

Defined in

packages/renderer/types/render/context.d.ts:18


__mode

__mode: ContextMode

Defined in

packages/renderer/types/render/context.d.ts:17


__proxy

Private __proxy: any

Defined in

packages/renderer/types/render/context.d.ts:42


__refs

__refs: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:20


__transform

Private __transform: any

Defined in

packages/renderer/types/render/context.d.ts:39


context

context: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:21


props

props: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:23


state

state: Record<string, any>

Defined in

packages/renderer/types/render/context.d.ts:22

Methods

__clone

__clone(context?): Context

Parameters

NameType
context?Record<string, any>

Returns

Context

Defined in

packages/renderer/types/render/context.d.ts:47


__parseExpression

__parseExpression(code?): any

Parameters

NameType
code?JSExpression | JSFunction

Returns

any

Defined in

packages/renderer/types/render/context.d.ts:45


__parseFunction

__parseFunction(code?): undefined | Function

Parameters

NameType
code?JSFunction

Returns

undefined | Function

Defined in

packages/renderer/types/render/context.d.ts:44


__ref

__ref(id?, ref?): undefined | (el: any) => any

Parameters

NameType
id?null | string
ref?string | Function

Returns

undefined | (el: any) => any

Defined in

packages/renderer/types/render/context.d.ts:46


setup

setup(attrs, Vue?): void

Parameters

NameType
attrsRecord<string, any>
Vue?any

Returns

void

Defined in

packages/renderer/types/render/context.d.ts:41

Released under the MIT License.