new MoviePresenter() → {MoviePresenter}
Returns:
- Type:
- MoviePresenter
Extends
- GridPresenterBase
Methods
configureLoadTask(task, parentItem, viewMode) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
task | object | |
parentItem | object | |
viewMode | string |
Returns:
- Type:
- void
destroy() → {void}
Returns:
- Type:
- void
getBackdropMode() → {string}
Uses presentation backdrop only for Movies (Presentation) view
Returns:
- Type:
- string
getGridConfig(viewMode) → {object}
Parameters:
| Name | Type | Description |
|---|---|---|
viewMode | string |
Returns:
- Type:
- object
getOptions(parentItem) → {object}
Parameters:
| Name | Type | Description |
|---|---|---|
parentItem | object |
Returns:
- Type:
- object
loadFilters(parentItem) → {void}
Load dynamic filters from API
Parameters:
| Name | Type | Description |
|---|---|---|
parentItem | object |
Returns:
- Type:
- void
onFiltersLoaded(event) → {void}
Called when filters are loaded from API (via onPresenterFiltersLoaded bridge in BaseGridView)
Parameters:
| Name | Type | Description |
|---|---|---|
event | object |
Returns:
- Type:
- void
onInit(view) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
view | object |
Returns:
- Type:
- void
onItemFocused(item, _currentView) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
item | object | |
_currentView | string |
Returns:
- Type:
- void
onLogoLoaded(event) → {void}
Called when logo is loaded (via onPresenterLogoLoaded bridge in BaseGridView)
Parameters:
| Name | Type | Description |
|---|---|---|
event | object |
Returns:
- Type:
- void
shouldShowPresentationInfo(viewMode) → {boolean}
Show presentation info only for Movies (Presentation) view
Parameters:
| Name | Type | Description |
|---|---|---|
viewMode | string |
Returns:
- Type:
- boolean