@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
7 lines • 333 B
TypeScript
/**
* The [onLocaleChange()](https://developers.arcgis.com/javascript/latest/references/core/intl/#onLocaleChange) method registers this callback when the locale changes.
*
* @param newLocale - A string containing a reference to the changed locale.
* @since 5.0
*/
export type LocaleChangeCallback = (newLocale: string) => void;