Skip to content

Instantly share code, notes, and snippets.

@Blazing-Mike
Created September 7, 2024 12:56
Show Gist options
  • Save Blazing-Mike/3a7a490f7c3d8eae52cbf9fc0e28527a to your computer and use it in GitHub Desktop.
Save Blazing-Mike/3a7a490f7c3d8eae52cbf9fc0e28527a to your computer and use it in GitHub Desktop.
<button class="btn btn-dark nob-btn" type="{{ buttonType }}" [disabled]="loading" (click)="onButtonClick()">
<span class="my-3">{{ buttonText }}</span>
<div class="spinner-border spinner-border-sm absolute text-white font-size-10 fw-bold float-right" *ngIf="loading"
role="status">
<span class="sr-only">Loading...</span>
</div>
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment