getLang | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/dompackgetLangFunction getLanggetLang(node?: Element): ParsedLanguageTagGet the effective language for an element (or the document) ParametersOptionalnode: ElementThe element for which to get the effective language. If not specified, the documentElement and finally the browser is used Returns ParsedLanguageTagThe language code, eg. "nl" or "en-GB" SettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Get the effective language for an element (or the document)