feat(toggle): add toggleOnOffLabels global config option (#26087)

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
Hans
2022-10-31 15:49:15 +01:00
committed by GitHub
parent b364d58710
commit 43e2b3975d
3 changed files with 50 additions and 1 deletions

View File

@@ -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`.