Muokkaa

Jaa


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

Client
Power Apps component framework API reference
Power Apps component framework overview