Skip to main content

Hi everyone:

 

Good to be here, as the title, I try not to display widget after initializing with the following setting:

window.fcWidgetMessengerConfig = {
          config: {
            headerProperty: {
                hideChatButton: true,
            },
          },
  };

 

It works fine, but later when I try to show the widget with ‘window.fcWidget.show()’, nothing happens,

Is it possible to achieve this behavior?

Thanks in advance.

 

Had the same problem, not sure if it is supposed to be this way.

I achieved this by using ‘window.fcWidget.setConfig()’. Then you can change the property ‘hideChatButton’ to control the visibility, instead of show() and hide() functions


Had the same problem, not sure if it is supposed to be this way.

I achieved this by using ‘window.fcWidget.setConfig()’. Then you can change the property ‘hideChatButton’ to control the visibility, instead of show() and hide() functions

It works!! Thank you so much :)


Reply