Group up existing components into elements
This commit is contained in:
7
elements/AnimeList/AnimeList.pixy
Normal file
7
elements/AnimeList/AnimeList.pixy
Normal file
@ -0,0 +1,7 @@
|
||||
component AnimeList(animeListItems []*arn.AnimeListItem, nextIndex int, viewUser *arn.User, user *arn.User)
|
||||
#load-more-target.anime-list
|
||||
AnimeListScrollable(animeListItems, viewUser, user)
|
||||
|
||||
if nextIndex != -1
|
||||
.buttons
|
||||
LoadMore(nextIndex)
|
Reference in New Issue
Block a user