refactor(toggle): remove legacy property and support for legacy syntax (#29037)

BREAKING CHANGE:

The `legacy` property and support for the legacy syntax, which involved placing an `ion-toggle` inside of an `ion-item` with an `ion-label`, have been removed from toggle. For more information on migrating from the legacy toggle syntax, refer to the [Toggle documentation](https://ionicframework.com/docs/api/toggle#migrating-from-legacy-toggle-syntax).
This commit is contained in:
Liam DeBeasi
2024-02-13 17:30:17 -05:00
committed by GitHub
parent 6bd446f681
commit c72ecedc09
86 changed files with 21 additions and 1161 deletions

View File

@ -866,13 +866,11 @@ export const IonToggle = /*@__PURE__*/ defineContainer<JSX.IonToggle, JSX.IonTog
'value',
'enableOnOffLabels',
'labelPlacement',
'legacy',
'justify',
'alignment',
'ionChange',
'ionFocus',
'ionBlur',
'ionStyle'
'ionBlur'
],
'checked', 'ion-change');