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
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про