Commit b129a48e by Sebastián Katzer

Example how to cancel notification immediatly after creation

parent f5d4d432
...@@ -157,6 +157,12 @@ window.plugin.notification.local.add({ message: 'Great app!' }); ...@@ -157,6 +157,12 @@ window.plugin.notification.local.add({ message: 'Great app!' });
```javascript ```javascript
window.plugin.notification.local.add({ sound: null }); window.plugin.notification.local.add({ sound: null });
``` ```
#### Cancel notification immediatly after creation
```javascript
window.plugin.notification.local.add({ id: 1, message: 'Reminder' });
// `add` is executed asynchron!
setTimeout('plugin.notification.local.cancel(1)', 200);
```
## Platform specifics ## Platform specifics
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment