For what version of Nuxt UI are you suggesting this?
v3.0.0-alpha.x
Description
In certain situations, it’s necessary to display a loading indicator, but not all components currently include this feature. It would be helpful to have a composable and directive for such cases.
How it should work
A semi-transparent overlay should be rendered over the target, containing a loading icon.
For what version of Nuxt UI are you suggesting this?
v3.0.0-alpha.x
Description
In certain situations, it’s necessary to display a loading indicator, but not all components currently include this feature. It would be helpful to have a composable and directive for such cases.
How it should work
A semi-transparent overlay should be rendered over the target, containing a loading icon.
How to use
Composable
useLoading
Directive
v-loading
Additional context
Here’s how it’s implemented in other libraries: