@open-pioneer/runtime@2.1.5
github-actions
released this
10 Jun 15:41
·
81 commits
to main
since this release
Patch Changes
-
90d0cce: The
resolveConfig
callback of an app's configuration can now inspect the application'shostElement
. -
90d0cce: Add a builtin method on the
ApplicationContext
to change the application's locale.
Note that with the current implementation, the application will simply restart with the new locale.
The application's state will be lost.Example:
import { ApplicationContext } from "@open-pioneer/runtime"; const appCtx: ApplicationContext = ...; // injected appCtx.setLocale("en-US");
- @open-pioneer/runtime-react-support@1.0.2