docs(actionSheet): update example to have cancel method, which it needs

Closes #1770

Add cancel function to handle cancel clicks in example.
Otherwise throws error when used in own code.
This commit is contained in:
Flaky
2014-07-11 16:33:39 +02:00
committed by Andrew
parent 114dad8cea
commit 56fbf3b375

View File

@@ -30,6 +30,9 @@
* destructiveText: 'Delete',
* titleText: 'Modify your album',
* cancelText: 'Cancel',
* cancel: function() {
// add cancel code..
},
* buttonClicked: function(index) {
* return true;
* }