Skip to content

Documentation / @jalali-js/web / parseLocaleAttribute

Function: parseLocaleAttribute()

parseLocaleAttribute(value): LocaleCode

Defined in: packages/web/src/locale.ts:11

Reads a locale attribute value; an unknown or missing value falls back to 'en', the same default every element starts with.

Parameters

value

string | null

Returns

LocaleCode