-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
I see the "unmount" has no arguments in docs.
But it has a argument "rootContainer: HostElement | string" in "@vue/runtime-core".
Which is right?
See: runtime-core.d.ts
export declare interface App<HostElement = any> {
version: string;
config: AppConfig;
use(plugin: Plugin_2, ...options: any[]): this;
mixin(mixin: ComponentOptions): this;
component(name: string): Component | undefined;
component(name: string, component: Component): this;
directive(name: string): Directive | undefined;
directive(name: string, directive: Directive): this;
mount(rootContainer: HostElement | string, isHydrate?: boolean): ComponentPublicInstance;
unmount(rootContainer: HostElement | string): void;
provide<T>(key: InjectionKey<T> | string, value: T): this;
_uid: number;
_component: ConcreteComponent;
_props: Data | null;
_container: HostElement | null;
_context: AppContext;
}
Metadata
Metadata
Assignees
Labels
No labels