ionic-team / ionic-team/ionic-docs

Platform : condition for device types

Ouverte
#948 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
content
Langage dominant
MDX
Étoiles
621
Forks
3.2k
Merge moyen
1 j 2 h
PR mergées (30 j)
86

Description

**URL**
https://ionicframework.com/docs/utilities/platform

**What is missing or inaccurate about the content on this page?**
About the method is(platformName: Platforms), it would be great to know which conditions make it answer true for "mobile" "phablet" and "tablet".
I always thought a phablet would always return true for both "mobile" and "tablet" but I've done tests with a Pixel 3 on Android Q with display set to small (high resolution) and it returns true for both "mobile" and "tablet" but false for "phablet".
It is very hard to tell if it's a bug or an undocumented feature.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.