Closed
Description
Ionic version:
[x] 4.x
Describe the Feature Request
I would like to have optional labels on <ion-toggle>
elements - in iOS, you are still able to enable labels within the accessibility settings. We would like to honor these settings and to have a way to enable labels for the respective platforms (iOS/Android).
Describe Preferred Solution
How? An optional parameter/directive would be nice.
It should look like this:
(Source: https://osxdaily.com/2014/04/15/ios-settings-switch-on-off-labels/)
As far as I know, there are also Android equivalents with on/off.
Describe Alternatives
I considered a DIY solution, but I'm not currently not sure how to achieve that effect without having to fork the Ionic project.
Related Code
<ion-toggle label="false"></ion-toggle>
<ion-toggle label="true"></ion-toggle>
Additional Context
None