Search results

Stop Progress Indicator

You can stop the progress indicator using ProgressComplete method. In the following sample, the progress indicator is stopped by clicking the Stop button.

@using Syncfusion.EJ2.Blazor.SplitButtons
@using Syncfusion.EJ2.Blazor.Buttons

<EjsProgressButton Content="Spin Left" IsPrimary="true" @ref="ProgressBtnObj"></EjsProgressButton>
<EjsButton Onclick="clicked">Stop</EjsButton>

@code {
    EjsProgressButton ProgressBtnObj;
    private void clicked(){
    ProgressBtnObj.ProgressComplete();
  }
}

Output be like

Progress Button Sample