主题
LocaleChangeEvent 继承自: Event['Page']
描述宿主平台区域偏好发生变化时的事件负载。
另请参阅:
on_locale_change:当宿主平台的区域偏好/设置发生变化时触发的事件。
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
locales | list[Locale] | required | The full, ordered list of locales reported by the host platform. The first item represents the highest-priority locale. |