mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(platform): respect PLATFORMS_MAP from core (#15371)
* docs(platform): respect PLATFORMS_MAP from core * docs(platform): adapt descriptions
This commit is contained in:
@ -81,16 +81,16 @@ export class Platform {
|
|||||||
* |-----------------|------------------------------------|
|
* |-----------------|------------------------------------|
|
||||||
* | android | on a device running Android. |
|
* | android | on a device running Android. |
|
||||||
* | cordova | on a device running Cordova. |
|
* | cordova | on a device running Cordova. |
|
||||||
* | core | on a desktop device. |
|
|
||||||
* | ios | on a device running iOS. |
|
* | ios | on a device running iOS. |
|
||||||
* | ipad | on an iPad device. |
|
* | ipad | on an iPad device. |
|
||||||
* | iphone | on an iPhone device. |
|
* | iphone | on an iPhone device. |
|
||||||
* | mobile | on a mobile device. |
|
|
||||||
* | mobileweb | in a browser on a mobile device. |
|
|
||||||
* | phablet | on a phablet device. |
|
* | phablet | on a phablet device. |
|
||||||
* | tablet | on a tablet device. |
|
* | tablet | on a tablet device. |
|
||||||
* | windows | on a device running Windows. |
|
|
||||||
* | electron | in Electron on a desktop device. |
|
* | 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 {
|
is(platformName: Platforms): boolean {
|
||||||
|
Reference in New Issue
Block a user