mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(toggle): add toggleOnOffLabels global config option (#26087)
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
@@ -64,6 +64,11 @@ export interface IonicConfig {
|
||||
*/
|
||||
spinner?: SpinnerTypes;
|
||||
|
||||
/**
|
||||
* Overrides the default enableOnOffLabels in all `<ion-toggle>` components.
|
||||
*/
|
||||
toggleOnOffLabels?: boolean;
|
||||
|
||||
/**
|
||||
* Overrides the default spinner for all `ion-loading` overlays, ie. the ones
|
||||
* created with `ion-loading-controller`.
|
||||
|
||||
Reference in New Issue
Block a user