Methods

(static) addRow(data, title, typeFilter) → {void}

Parameters:
NameTypeDescription
datadynamic
titledynamic
typeFilterdynamic
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:
NameTypeDescription
dataobject
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:
NameTypeDescription
itemTypestring
Returns:
Type: 
object

(static) init() → {void}

Returns:
Type: 
void