Methods
(static) addRow(data, title, type_filter) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
data | dynamic | |
title | dynamic | |
type_filter | 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. Episode → WIDE (16:9 screenshots) Music and Playlist → SQUARE (1:1 album art) All others (Movie, Series, TvChannel, Person, etc.) → PORTRAIT (2:3 poster)
Parameters:
| Name | Type | Description |
|---|---|---|
itemType | string |
Returns:
- Type:
- object
(static) init() → {void}
Returns:
- Type:
- void