Skip to content
New issue

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

Can't override the theme on a single message? #126

Open
gregveres opened this issue Nov 20, 2017 · 1 comment
Open

Can't override the theme on a single message? #126

gregveres opened this issue Nov 20, 2017 · 1 comment

Comments

@gregveres
Copy link

Hi,

I have a single theme set for my application but now I am running into a situation where I want to use a lighter theme (air) for a different type of message. Since I am using typescript, I pulled in the typing file and it indicates that you can set theme: during a post. But when I try it, the message always comes out in the theme I have set in the Messenger options call for the page.

I tried it on the demo site (http://github.hubspot.com/messenger/docs/welcome/) as well and it didn't work there either.

is this supposed to work:

Messenger().post({
    message: "email draft autosaved", hideAfter: 1, type: "success", showCloseButton: false, theme: 'ice'
})

Or is that not a feature?

Thanks

@akhzarjaved
Copy link

This haven't answered yet ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants