Type alias ComponentPublicInstance<P, B, D, C, M, E, PublicProps, Defaults, MakeDefaultsOptional, Options, I, S>

ComponentPublicInstance<P, B, D, C extends ComputedOptions, M extends MethodOptions, E extends EmitsOptions, PublicProps, Defaults, MakeDefaultsOptional extends boolean, Options, I extends ComponentInjectOptions, S extends SlotsType>: {
    $: ComponentInternalInstance;
    $attrs: Data;
    $data: D;
    $el: any;
    $emit: EmitFn<E>;
    $forceUpdate: (() => void);
    $nextTick: typeof __type;
    $options: Options & MergedComponentOptionsOverride;
    $parent: ComponentPublicInstance | null;
    $props: MakeDefaultsOptional extends true
        ? Partial<Defaults> & Omit<Prettify<P> & PublicProps, keyof Defaults>
        : Prettify<P> & PublicProps;
    $refs: Data;
    $root: ComponentPublicInstance | null;
    $slots: UnwrapSlotsType<S>;
    $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => R)
        ? ((...args: [R, R]) => any)
        : ((...args: any) => any), options?: WatchOptions<boolean>): WatchStopHandle;
} & IfAny<P, P, Omit<P, keyof ShallowUnwrapRef<B>>> & ShallowUnwrapRef<B> & UnwrapNestedRefs<D> & ExtractComputedReturns<C> & M & ComponentCustomProperties & InjectToObject<I>

Type Parameters

Type declaration