Skip to content
Types
import type { LocaleChangeCallback } from "@arcgis/core/intl/locale.js";

Type definitions

LocaleChangeCallback

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

The onLocaleChange() method registers this callback when the locale changes.

Parameters
ParameterTypeDescriptionRequired
newLocale

A string containing a reference to the changed locale.

Returns
void