fix(itemSliding): close items when scrolling content

This commit is contained in:
Adam Bradley
2015-11-16 13:35:20 -06:00
parent b5fc40be92
commit b7c2291dd7
5 changed files with 49 additions and 10 deletions

View File

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