Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
becvert committed Apr 28, 2017
1 parent a3b2d58 commit cc47c30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ deviceName.get(function success(name) {
});
```

if you installed cordova-plugin-device you can use:

```javascript
window.device.name
```

## Credits

All the credits go to the official cordova-plugin-device plugin.
Expand Down

0 comments on commit cc47c30

Please sign in to comment.