formFactor


formFactorstringRead-only

Gets what kind of device is being used to view the page.

Note: This property only checks the site visitor's device, and not which Studio Editor's breakpoint they are using.

The formFactor property gets one of:

  • "Desktop": When viewed in a desktop browser.
  • "Mobile": When viewed in a mobile browser.
  • "Tablet": When viewed in a tablet browser.
Was this helpful?
Yes
No