vue-lynx / App

Interface: App<HostElement>

Type Parameters

Type ParameterDefault type
HostElementany

Properties

PropertyTypeDefined in
versionstringnode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1021
configAppConfignode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1022
_uidnumbernode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1053
_componentConcreteComponent<object, any, any, ComputedOptions, MethodOptions, object, any>node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1054
_propsnull | Datanode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1055
_containernull | HostElementnode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1056
_contextAppContextnode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1057
_instancenull | ComponentInternalInstancenode_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1058

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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1023

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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1024


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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1025


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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1026

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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1027


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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1028

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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1029


mount()

mount(rootContainer): 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

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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1030


unmount()

unmount(): void

Returns

void

Defined in

node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1043


onUnmount()

onUnmount(cb): void

Parameters

ParameterType
cb() => void

Returns

void

Defined in

node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1044


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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1045


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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1052


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.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1062

filter(name, filter)

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

this

Defined in

node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1063