Exposed loading spinner class via a property for the data table.

This commit is contained in:
2025-06-23 10:10:55 -07:00
parent 6503247852
commit 07d236c507

View File

@ -287,7 +287,8 @@ class DataTable extends IgniteElement {
secondaryPageButtonClass: "btn text-center flex-grow-1 btn-secondary",
refresh: null,
pendingFilter: null,
loading: false
loading: false,
loadingSpinnerClass: "spinner-border"
}
}
@ -385,7 +386,7 @@ class DataTable extends IgniteElement {
//Loading spinner
new div().show(this.loading).class("d-flex justify-content-center mt-3").child(
new div().class("spinner-border")
new div().class(this.loadingSpinnerClass)
)
),