docs(platform): respect PLATFORMS_MAP from core (#15371)

* docs(platform): respect PLATFORMS_MAP from core

* docs(platform): adapt descriptions
This commit is contained in:
mburger81
2018-08-29 17:42:05 +02:00
committed by Manu MA
parent 4a6e37b54a
commit 1cbb371d3f

View File

@ -81,16 +81,16 @@ export class Platform {
* |-----------------|------------------------------------|
* | android | on a device running Android. |
* | cordova | on a device running Cordova. |
* | core | on a desktop device. |
* | ios | on a device running iOS. |
* | ipad | on an iPad device. |
* | iphone | on an iPhone device. |
* | mobile | on a mobile device. |
* | mobileweb | in a browser on a mobile device. |
* | phablet | on a phablet device. |
* | tablet | on a tablet device. |
* | windows | on a device running Windows. |
* | electron | in Electron on a desktop device. |
* | pwa | as a PWA app. |
* | mobile | on a mobile device. |
* | desktop | on a desktop device. |
* | hybrid | is a cordova or capacitor app. |
*
*/
is(platformName: Platforms): boolean {