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

Added isVisible api on toast object #40

Closed
wants to merge 3 commits into from

Conversation

rahulnpadalkar
Copy link

isVisible(id: String) => Boolean

If the toast is visible it returns true and false.

#17

  • check if toast is active by id

@ankurk91
Copy link
Owner

Lodash is overkill to implement this feature

@rahulnpadalkar
Copy link
Author

Yeah, what do you think about this?

@rahulnpadalkar
Copy link
Author

@ankurk91 removed lodash dependency as you rightly mentioned that it would be a overkill. Implemented a function instead.

@ankurk91
Copy link
Owner

ankurk91 commented Nov 1, 2020

Well, this is now how i have envisioned this feature to look like.
I will take a look on this feature after making the package compatible for Vue 3.0

@ankurk91 ankurk91 closed this Nov 1, 2020
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

Successfully merging this pull request may close these issues.

2 participants