fix(platform): using desktop instead of window

This commit is contained in:
olivier-po
2018-09-24 18:48:14 +02:00
committed by Manu MA
parent 8dad01b0ac
commit c8de84dfe5

View File

@ -9,7 +9,7 @@ The Platform service can be used to get information about your current device. Y
| Method | Description | | Method | Description |
|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------| |---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `is` | Returns true/false based on platform. Available options are android, cordova, core, ios, ipad, iphone, mobile, mobileweb, phablet, tablet, windows, electron. | | `is` | Returns true/false based on platform. Available options are android, cordova, core, ios, ipad, iphone, mobile, mobileweb, phablet, tablet, desktop, electron. |
| `platforms` | Returns an array of platforms that the current device matches. | | `platforms` | Returns an array of platforms that the current device matches. |
| `versions` | Returns an object that contains the major, minor, and patcher version of the current device. | | `versions` | Returns an object that contains the major, minor, and patcher version of the current device. |
| `ready` | Returns a promise that resolves when the native bridge is ready in Cordova, or when the DOM is fully loaded in the browser. | | `ready` | Returns a promise that resolves when the native bridge is ready in Cordova, or when the DOM is fully loaded in the browser. |