onWindowLocale function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function onWindowLocale(listener: (locale: string | null) => void): () => void;

Calls listener with the window's locale each time the application changes it, until the returned function is called.