getFormFactor
Returns information about the kind of device the user is using.
Syntax
context.client.getFormFactor()
Available for
Model-driven apps, canvas apps, & portals.
Return Value
Type: Number
Value | Form Factor |
---|---|
0 | Unknown |
1 | Desktop |
2 | Tablet |
3 | Phone |
Related articles
Client
Power Apps component framework API reference
Power Apps component framework overview
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle