mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
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:
@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user