mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +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:
@ -23,7 +23,6 @@ const TOGGLE_INPUTS = [
|
||||
'enableOnOffLabels',
|
||||
'justify',
|
||||
'labelPlacement',
|
||||
'legacy',
|
||||
'mode',
|
||||
'name',
|
||||
'value',
|
||||
|
Reference in New Issue
Block a user