With inProgress(), the wrapper gets pf-m-in-progress and an additional __progress overlay is rendered containing the PF v6 spinner. PF's CSS hides __content (opacity 0) and shows __progress (opacity 1) — no JavaScript involved.