Added delete button to list view

Change-Id: I7ebbc131e59365363c649a8f1eadebb46767ccda
diff --git a/src/index.ts b/src/index.ts
index 4ba1f3d..b03f4b4 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -100,7 +100,13 @@
                     color: 'red',
                     cb: (item) => {
                       console.log(item);
-                      item.$delete();
+                      item.$delete()
+                        .then(res => {
+                          console.log(res);
+                        })
+                        .catch(err => {
+                          console.error(err);
+                        });
                     }
                   }
                 ]