Methods

(static) init() → {void}

Returns:
Type: 
void

(static) isValidToContinue(index) → {dynamic}

Parameters:
NameTypeDescription
indexinteger
Returns:
Type: 
dynamic

(static) nextSlide() → {void}

Returns:
Type: 
void

(static) onDestroy() → {void}

onDestroy: Full teardown releasing all resources before component removal Called automatically via JRScreen.beforeViewClose when sgRouter permanently closes this view.

Returns:
Type: 
void

(static) onIsRandomChanged() → {void}

isRandom component field has changed

Returns:
Type: 
void

(static) onIsSlideshowChanged() → {void}

isSlideshow component field has changed

Returns:
Type: 
void

(static) onItemContentChanged() → {void}

Returns:
Type: 
void

(static) onKeyEvent(key, press) → {boolean}

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) onPhotoLoaded() → {void}

Returns:
Type: 
void

(static) onScreenHidden() → {void}

JRScreen hook. Used to ensure tasks are stopped

Returns:
Type: 
void

(static) onScreenShown() → {void}

The router creates this view; its launch data arrives as route.context (set by JRScene.onPhotoLaunchRequested). Apply it on first mount, setting itemIndex LAST so onItemContentChanged fires with itemsNode/itemsArray + slideshow flags already in place. itemIndex defaults to -1, so this runs once (subsequent shows are no-ops).

Returns:
Type: 
void

(static) statusUpdate() → {void}

Returns:
Type: 
void