MusicPresenter. MusicPresenter

MusicPresenter handles music library-specific behavior

Constructor

new MusicPresenter()

Extends

  • GridPresenterBase

Methods

configureLoadTask(task, parentItem, currentView) → {void}

Configure load task with music-specific parameters

Parameters:
NameTypeDescription
taskobject
parentItemobject
currentViewstring
Returns:
Type: 
void

destroy() → {void}

Cleanup music-specific resources

Returns:
Type: 
void

getGridConfig(currentView) → {object}

Configure grid layout and positioning for music views

Parameters:
NameTypeDescription
currentViewstring
Returns:
Type: 
object

getOptions(parentItem) → {object}

Get music-specific view, sort, and filter options

Parameters:
NameTypeDescription
parentItemobject
Returns:
Type: 
object

onInit(view) → {void}

Initialize music-specific state

Parameters:
NameTypeDescription
viewobject
Returns:
Type: 
void