mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
refactor(): remove deprecated controllers (#20165)
* remove action-sheet-controller and alert-controller * rmeove loading controller * remove popover controller * remove toast controller * remove picker-controller * remove modal controller * remove menu controller * update menu ctrl in tests * run linter * remove window refs * Update core/src/components/loading/test/standalone/index.html Co-Authored-By: Brandy Carney <brandyscarney@users.noreply.github.com> * remove window from modal tests * test * testing timeout * change timeout Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
This commit is contained in:
@ -10,13 +10,15 @@
|
||||
<script src="../../../../../scripts/testing/scripts.js"></script>
|
||||
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
|
||||
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script></head>
|
||||
<script type="module">
|
||||
import { pickerController } from '../../../../dist/ionic/index.esm.js';
|
||||
window.pickerController = pickerController;
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<ion-picker-controller></ion-picker-controller>
|
||||
<ion-button onclick="openPicker()" id="single-column-button">Open Single Column Picker</ion-button>
|
||||
<ion-button onclick="openPicker(2, 5, multiColumnOptions)" id="multiple-column-button">Open Multi Column Picker</ion-button>
|
||||
<script>
|
||||
const pickerController = document.querySelector('ion-picker-controller');
|
||||
const defaultColumnOptions = [
|
||||
[
|
||||
'Dog',
|
||||
@ -55,7 +57,7 @@
|
||||
{
|
||||
text: 'Confirm',
|
||||
handler: (value) => {
|
||||
console.log(`Got Value ${value}`);
|
||||
console.log('Got Value', value);
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user