feat: Set Mode globally more dynamically

Feature Request

Ionic version:

[x] 5.x

Describe the Feature Request

I want to be able to set the App’s Mode via App Config for specific “things” (like Animations).

Describe Preferred Solution

Currently i can set

{
  mode: "ios"
}

Describe Alternatives

I want to be able to set something like this:

{
  mode: {
    alert: "ios",
    "modal": "ios",
    "other": "md"
}

so mode could be type of config | string to support backwards compatibility. If other isn’t set the default should be used.

1 possible answer(s) on “feat: Set Mode globally more dynamically

  1. To be honest, i don’t remember why i thought this would be usefull 😃 I know there was a reason, but i solved it somehow^^ Thank you.