Methods
(static) addRow(data, title, typeFilter) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
data | dynamic | |
title | dynamic | |
typeFilter | dynamic |
Returns:
- Type:
- void
(static) applyRowSizes(data) → {void}
Applies per-row slot sizes, heights, and spacings to the RowList. Infers each row's slot size from its first item's type. Must be called after all rows are added to the content node.
Parameters:
| Name | Type | Description |
|---|---|---|
data | object |
Returns:
- Type:
- void
(static) getData() → {dynamic}
Returns:
- Type:
- dynamic
(static) getSlotSizeForType(itemType) → {object}
Returns the appropriate slot size for a given Jellyfin item type. WIDE (16:9) — Episode, Video, MusicVideo, PhotoAlbum, Photo SQUARE (1:1) — Music types, Playlist, Program, TvChannel, Recording PORTRAIT (2:3) — all others (Movie, Series, Person, BoxSet, etc.)
Parameters:
| Name | Type | Description |
|---|---|---|
itemType | string |
Returns:
- Type:
- object
(static) init() → {void}
Returns:
- Type:
- void