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

Imperative dismiss #34

Open
samducker opened this issue Sep 1, 2024 · 1 comment
Open

Imperative dismiss #34

samducker opened this issue Sep 1, 2024 · 1 comment

Comments

@samducker
Copy link

Hi I noticed the loading preset,

is it possible in this library to wait for example for some data to load then imperatively dismiss it in your code e.g.

alert or toast({preset: 'loading', title: 'Fetching data...'})

then when needed

.dismiss();

@mrevanzak
Copy link

there is a dismissAlert() function if i take a look at the native code. turns out it can be import too

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