inventory-framework icon indicating copy to clipboard operation
inventory-framework copied to clipboard

A way to set click compensation with a loading time.

Open ch4ika opened this issue 1 year ago • 0 comments

First, a few things...

  • [ ] Is your feature request related to a problem?
  • [x] Will this feature just help you or is it something everyone needs?
  • [ ] Have you tried to implement or draft this feature?
  • [ ] Is your feature a breaking change?

😄 Describe the solution you'd like

Sometimes I use it in some click situation coupled with database queries. The user shouldn't be able to click anything until the query is completed.

For me, depending on how possible it would be useful to include the option to add a status as soon as an operation is completed that the operation is finished and the user can click on it again.

Currently I use it so that I set a loading component with default value false and as soon as the operation starts I set it to true and as soon as everything is completed I set it back to false as soon as everything is completed.

🧠 Describe alternatives you've considered

No response

🤚 Drawbacks

No response

💻 Platform

  • [X] Bukkit
  • [ ] Sponge
  • [ ] Other
  • [ ] All

⭐ Version

3.1.0

✍️ Additional context

No response

ch4ika avatar Dec 18 '23 04:12 ch4ika