UNPKG

@ionic/vue

Version:

Vue specific wrapper for @ionic/core

17 lines (16 loc) 986 B
import { VNode } from 'vue'; export declare const IonApp: import("vue").DefineComponent<unknown, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>; /** * When rendering user components inside of * ion-modal, or ion-popover the component * needs to be created inside of the current application * context otherwise libraries such as vue-i18n or vuex * will not work properly. * * `userComponents` renders teleported components as children * of `ion-app` within the current application context. */ export declare const addTeleportedUserComponent: (component: VNode) => void; export declare const removeTeleportedUserComponent: (component: VNode) => void;