ionic-team / ionic-team/ionic-docs

Platform : condition for device types

Abierto
#948 0 comentarios 0 reacciones 0 asignados Ver en GitHub
content
Lenguaje dominante
MDX
Estrellas
621
Forks
3.2k
Merge medio
1 d 2 h
PR fusionados (30 d)
86

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.