Skip to content
Bunshi
GitHub

useScopes

useScopes(options = {}): ScopeTuple< unknown >[]

Gets the scopes implicitly in context for the current component.

Scope can also be explicitly provided to this hook.

Parameters

ParameterTypeDescription
optionsMoleculeScopeOptionsto provide explicit scopes or scope overrides

Returns

ScopeTuple< unknown >[]

a set of scopes

Source

vue/useScopes.ts:16