@vtj / Modules / renderer / Context
Class: Context
renderer.Context
Table of contents
Constructors
Properties
- $apis
- $attrs
- $components
- $el
- $emit
- $forceUpdate
- $libs
- $nextTick
- $options
- $parent
- $props
- $refs
- $root
- $slots
- $watch
- __cleanup
- __contextRefs
- __id
- __instance
- __mode
- __proxy
- __refs
- __transform
- context
- props
- state
Methods
Constructors
constructor
• new Context(options
): Context
Parameters
Name | Type |
---|---|
options | ContextOptions |
Returns
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
Name | Type |
---|---|
context? | Record <string , any > |
Returns
Defined in
packages/renderer/types/render/context.d.ts:47
__parseExpression
▸ __parseExpression(code?
): any
Parameters
Name | Type |
---|---|
code? | JSExpression | JSFunction |
Returns
any
Defined in
packages/renderer/types/render/context.d.ts:45
__parseFunction
▸ __parseFunction(code?
): undefined
| Function
Parameters
Name | Type |
---|---|
code? | JSFunction |
Returns
undefined
| Function
Defined in
packages/renderer/types/render/context.d.ts:44
__ref
▸ __ref(id?
, ref?
): undefined
| (el
: any
) => any
Parameters
Name | Type |
---|---|
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
Name | Type |
---|---|
attrs | Record <string , any > |
Vue? | any |
Returns
void
Defined in
packages/renderer/types/render/context.d.ts:41