How to controll spinner? #1899
Answered
by
Montoya
tadejgolobic
asked this question in
Q&A
-
I see that we have following UI component available to use - spinner (https://docs.metamask.io/snaps/how-to/use-custom-ui/#spinner) My question is how can we control it? Can we start it and after some stuff is done, just remove it? And maybe have buttons on dialog disabled when spinner is loading? My use case is this:
|
Beta Was this translation helpful? Give feedback.
Answered by
Montoya
Nov 2, 2023
Replies: 1 comment
-
Hi! Great question. We haven't publicized the spinner component because there isn't a good way to do what you have in mind yet. We will eventually ship "dynamic UI" and then we will provide an example of how to do this. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Montoya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Great question. We haven't publicized the spinner component because there isn't a good way to do what you have in mind yet. We will eventually ship "dynamic UI" and then we will provide an example of how to do this. :)