mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
fix(itemSliding): close items when scrolling content
This commit is contained in:
@ -16,7 +16,11 @@ class E2EApp {
|
||||
}
|
||||
|
||||
getItems() {
|
||||
return [0,1];
|
||||
let items = [];
|
||||
for (let x = 0; x < 20; x++) {
|
||||
items.push(x);
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
didClick(ev, item) {
|
||||
@ -32,4 +36,8 @@ class E2EApp {
|
||||
console.log('Delete', ev, item);
|
||||
item.close();
|
||||
}
|
||||
|
||||
reload() {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user