The QInnerLoading component allows you to add a progress animation within a component. Much like the Loading Plugin, its purpose is to offer visual confirmation to the user that some process is happening in the background, which takes an excessive amount of time. QInnerLoading will add an opaque overlay over the delayed element along with a Spinner.
In order for the spinner to be properly placed in the center of the element you want the loading display to show over, that element must have CSS position set to
relative (or the
relative-position CSS class declared).
QInnerLoading must be the last element inside its parent so it can appear on top of the other content.
You can add a label when using the default slot, but you can also use the “label” props instead: