interface ComponentInternalInstance

We expose a subset of properties on the internal instance as they are useful for advanced external libraries and tools.

Properties

appContext

Signature
appContext: AppContext;

attrs

Signature
attrs: Data;

ceReload

custom element specific HMR method

Signature
ceReload?: (newStyles?: string[]) => void;

data

Signature
data: Data;

emit

Signature
emit: EmitFn;

exposed

Signature
exposed: Record<string, any> | null;

exposeProxy

Signature
exposeProxy: Record<string, any> | null;

isCE

is custom element?

Signature
isCE?: boolean;

isDeactivated

Signature
isDeactivated: boolean;

isMounted

Signature
isMounted: boolean;

isUnmounted

Signature
isUnmounted: boolean;

parent

Signature
parent: ComponentInternalInstance | null;

props

Signature
props: Data;

proxy

Signature
proxy: ComponentPublicInstance | null;

refs

Signature
refs: Data;

root

Signature
root: ComponentInternalInstance;

slots

Signature
slots: InternalSlots;

subTree

Root vnode of this component’s own vdom tree

Signature
subTree: VNode;

type

Signature
type: ConcreteComponent;

uid

Signature
uid: number;

update

Bound effect runner to be passed to schedulers

Signature
update: SchedulerJob;

vnode

Vnode representing this component in its parent’s vdom tree

Signature
vnode: VNode;