We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something like Intercom.show(); Intercom.hide() would be nice. What's the function call for this?
Intercom.show(); Intercom.hide()
The text was updated successfully, but these errors were encountered:
I found this: https://developers.intercom.com/installing-intercom/docs/intercom-javascript#section-intercomhide
This will hide the main Messenger panel if it is open. It will not hide the Messenger Launcher.
I'm trying to hide the Messenger Launcher. It gets in the way of my UI at some points. I'm not finding any function for this yet.
Sorry, something went wrong.
A semi functional solution is to just force it:
function setIntercomVisible(shouldShow) { const intercomId = "intercom-container"; const domNode = document.getElementById(intercomId); if (domNode) { domNode.style.display = shouldShow ? "" : "none"; } else { console.warn(`No element of id "${intercomId}" was found`); } }
If anyone is still looking for this, you can hide using the JS lib:
Intercom("update", { "hide_default_launcher": true });
Taken from https://www.intercom.com/help/en/articles/189-turn-off-show-or-hide-the-intercom-messenger
No branches or pull requests
Something like
Intercom.show(); Intercom.hide()
would be nice. What's the function call for this?The text was updated successfully, but these errors were encountered: