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:
Liam DeBeasi
2020-01-14 12:09:35 -05:00
committed by GitHub
parent 5b0400d5af
commit 8732a10757
45 changed files with 227 additions and 1701 deletions

View File

@ -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);
}
}
]