JS API: provide the expanded mode setting | Community
Skip to main content
Archived

JS API: provide the expanded mode setting

Related products:Integrations, API & Custom Actions
  • June 22, 2023
  • 2 replies
  • 10 views

Hi!

Intercom sets `intercom.intercom-expanded-mode` setting to localStorage which controls the default view mode for the widget.

It seems to fall back to “expanded” mode. In our use case we want it to be narrow by default. At the moment our solution is to manually set `intercom.intercom-expanded-mode: false` with JS, but it’d be handy to have a default setting as a boot option.

Thanks!

2 replies

Jennifer K
Intercom Team
Forum|alt.badge.img+3
  • Intercom Team
  • June 27, 2023
NewDiscussion ongoing

Jennifer K
Intercom Team
Forum|alt.badge.img+3
  • Intercom Team
  • October 22, 2024
SubmittedArchived