Skip to content

Commit cc47c30

Browse files
author
becvert
committed
update README.md
1 parent a3b2d58 commit cc47c30

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ deviceName.get(function success(name) {
2727
});
2828
```
2929

30+
if you installed cordova-plugin-device you can use:
31+
32+
```javascript
33+
window.device.name
34+
```
35+
3036
## Credits
3137

3238
All the credits go to the official cordova-plugin-device plugin.

0 commit comments

Comments
 (0)