Manually trigger loading spinner/indicator on lists


I'm writing a custom button for a list, with some pnpjs that takes a few seconds. To indicate to the user that something is happening i want to trigger the same spinner, you see with the fd.control().refresh() function.

Is this possible with vue or should i use bootstrap for this?

Best wishes,

Hello @nI3o,

You can use this code to show the spinner on List or Library control:


And this code to hide it: