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

Check if message already exists #87

Open
Inveth opened this issue Feb 27, 2020 · 2 comments
Open

Check if message already exists #87

Inveth opened this issue Feb 27, 2020 · 2 comments

Comments

@Inveth
Copy link

Inveth commented Feb 27, 2020

Hi,

Is there any way to check whether an message already exists?

I got an interval that is trying to show it each 10 seconds, but I don't want to if there is one already - otherwise they just animate again. Isn't there like a global id to check whether they exist?

@tarikfp
Copy link

tarikfp commented May 5, 2021

Any update ??
Related to check if the flash message is shown or not ?

@lucasferreira
Copy link
Owner

Hi @tarikpnr and @Inveth

Sorry about that, by now I recomendo to use the events 'onShow' and 'onHide' to catch up yourself in a state or global state variable whether the message are shown (true) and when gone hidden (false).

I know that it's a lot more complex than what you ask, but somehow solve the problem by now.

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

3 participants