vue-lynx / App

Interface: App<HostElement>

Type Parameters

Type ParameterDefault type
HostElementany

Properties

PropertyTypeDefined in
vapor?booleannode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1018
versionstringnode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1019
configAppConfignode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1020
_uidnumbernode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1039
_componentGenericComponentnode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1040
_propsnull | Datanode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1041
_containernull | HostElementnode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1042
_contextAppContextnode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1043
_instancenull | GenericComponentInstancenode_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1044

Methods

use()

use(plugin, options)

use<Options>(plugin, ...options): this
Type Parameters
Type Parameter
Options extends unknown[]
Parameters
ParameterType
pluginPlugin<Options, Options extends unknown[] ? Options<Options> : [Options]>
...optionsNoInfer<Options>
Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1021

use(plugin, options)

use<Options>(plugin, options): this
Type Parameters
Type Parameter
Options
Parameters
ParameterType
pluginPlugin<Options, Options extends unknown[] ? Options<Options> : [Options]>
optionsNoInfer<Options>
Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1022


mixin()

mixin(mixin): this

Parameters

ParameterType
mixinComponentOptions<object, any, any, any, any, any, any, any, string, object, object, string, object, object, object, string, ComponentProvideOptions>

Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1023


component()

component(name)

component(name): undefined | Component<any, any, any, ComputedOptions, MethodOptions, object, any>
Parameters
ParameterType
namestring
Returns

undefined | Component<any, any, any, ComputedOptions, MethodOptions, object, any>

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1024

component(name, component)

component<T>(name, component): this
Type Parameters
Type Parameter
T extends Component<any, any, any, ComputedOptions, MethodOptions, object, any> | DefineComponent<object, object, object, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, object, string, PublicProps, Readonly<ExtractPropTypes<object>>, object, object, object, object, string, ComponentProvideOptions, true, object, any>
Parameters
ParameterType
namestring
componentT
Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1025


directive()

directive(name)

directive<HostElement, Value, Modifiers, Arg>(name): undefined | Directive<HostElement, Value, Modifiers, Arg>
Type Parameters
Type ParameterDefault type
HostElementany
Valueany
Modifiers extends stringstring
Argany
Parameters
ParameterType
namestring
Returns

undefined | Directive<HostElement, Value, Modifiers, Arg>

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1026

directive(name, directive)

directive<HostElement, Value, Modifiers, Arg>(name, directive): this
Type Parameters
Type ParameterDefault type
HostElementany
Valueany
Modifiers extends stringstring
Argany
Parameters
ParameterType
namestring
directiveDirective<HostElement, Value, Modifiers, Arg>
Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1027


mount()

mount(
   rootContainer, 
   isHydrate?, 
   namespace?, 
vnode?): ComponentPublicInstance<object, object, object, object, object, object, object, object, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, object, object, string, object, object, object, string, ComponentProvideOptions>, object, object, "", object, any>

Parameters

ParameterType
rootContainerstring | HostElement
isHydrate?boolean
namespace?boolean | ElementNamespace
vnode?VNode<RendererNode, RendererElement, object>

Returns

ComponentPublicInstance<object, object, object, object, object, object, object, object, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, object, object, string, object, object, object, string, ComponentProvideOptions>, object, object, "", object, any>

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1028


unmount()

unmount(): void

Returns

void

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1029


onUnmount()

onUnmount(cb): void

Parameters

ParameterType
cb() => void

Returns

void

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1030


provide()

provide<T, K>(key, value): this

Type Parameters

Type ParameterDefault type
T-
Kstring | number | InjectionKey<T>

Parameters

ParameterType
keyK
valueK extends InjectionKey<V> ? V : T

Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1031


runWithContext()

runWithContext<T>(fn): T

Runs a function with the app as active instance. This allows using of inject() within the function to get access to variables provided via app.provide().

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
fn() => Tfunction to run with the app as active instance

Returns

T

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1038


filter()?

filter(name)

optional filter(name): undefined | Function

v2 compat only

Parameters
ParameterType
namestring
Returns

undefined | Function

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1048

filter(name, filter)

optional filter(name, filter): this
Parameters
ParameterType
namestring
filterFunction
Returns

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.6.0-beta.17/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1049