Use the clrLoading
directive to change the state of the spinner button. The directive
can be set to one of the following values:
ClrLoadingState.DEFAULT
: the default state of the button.ClrLoadingState.LOADING
: replaces the button text with a spinner.ClrLoadingState.SUCCESS
: briefly shows a check mark, and automatically transition
back to the ClrLoadingState.DEFAULT
state.