Methods

(static) CreateLibraryView(libraryItem) → {dynamic}

Creates a library view with the appropriate presenter for the given library item

Parameters:
NameTypeDescription
libraryItemobject

The library item node (CollectionFolder, Folder, etc.)

Returns:

Configured BaseGridView component or invalid

Type: 
dynamic

(static) DeterminePresenterType(libraryItem) → {string}

Determines the presenter type based on the library item's collection type

Parameters:
NameTypeDescription
libraryItemobject

The library item node

Returns:

Presenter type: "movie" | "music" | "tvshow" | "livetv" | "photo" | "generic"

Type: 
string