Skip to content

locale-switcher.ts#

View Markdown

Source

2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

2 symbols 1 functions 1 interfaces 1 parameters 3 members 1 returns

Reference#

fnresolveLocaleSwitcherOption(value: boolean | Record<string, unknown> | undefined): booleanResolves ssg.localeSwitcher. Omitted / false stay off. true or an object enable…

Resolves ssg.localeSwitcher. Omitted / false stay off. true or an object enables the control.

Signature

export function resolveLocaleSwitcherOption(value: boolean | Record<string, unknown> | undefined): boolean

View source

Parameters

  • value boolean | Record<string, unknown> | undefined

Returns

boolean
interfaceSsgLocalePathSibling page or locale-root href for one locale in the default-theme switcher.

Sibling page or locale-root href for one locale in the default-theme switcher.

Signature

export interface SsgLocalePath

View source

Members

Properties
NameTypeDescription
code string
hrefoptional string
rootoptional string