Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot committed Dec 4, 2023
1 parent e92d8b7 commit bc86c22
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/api/components_ItemGrid_ItemGrid.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,9 @@
'
'Load next set of items
sub loadMoreData()
startLoadingSpinner(false)
if m.Loading = true then return

startLoadingSpinner(false)
m.Loading = true
m.loadItemsTask.startIndex = m.loadedItems
m.loadItemsTask.observeField("content", "ItemDataLoaded")
Expand Down
3 changes: 2 additions & 1 deletion docs/api/components_ItemGrid_MovieLibraryView.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,9 @@
'
'Load next set of items
sub loadMoreData()
startLoadingSpinner(false)
if m.Loading = true then return

startLoadingSpinner(false)
m.Loading = true
m.loadItemsTask.startIndex = m.loadedItems
m.loadItemsTask.observeField("content", "ItemDataLoaded")
Expand Down
5 changes: 3 additions & 2 deletions docs/api/components_ItemGrid_MusicLibraryView.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
'Load initial set of Data
sub loadInitialItems()
m.loadItemsTask.control = "stop"
startLoadingSpinner()
startLoadingSpinner(false)

if LCase(m.top.parentItem.json.Type) = "collectionfolder"
m.top.HomeLibraryItem = m.top.parentItem.Id
Expand Down Expand Up @@ -552,8 +552,9 @@
'
'Load next set of items
sub loadMoreData()
startLoadingSpinner(false)
if m.Loading = true then return

startLoadingSpinner(false)
m.Loading = true
m.loadItemsTask.startIndex = m.loadedItems
m.loadItemsTask.observeField("content", "ItemDataLoaded")
Expand Down
Loading

0 comments on commit bc86c22

Please sign in to comment.