Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/ss/photos

A collection of SSPhoto objects and an index into them

Index

Variables

Let CUR_IDX

CUR_IDX: number = 0

Current index into PHOTOS

Const PHOTOS

PHOTOS: SSPhoto[] = []

The array of photos

Functions

addFromSource

  • addFromSource(photoSource: PhotoSource): Promise<void>

get

getCount

  • getCount(): number

getCurrentIndex

  • getCurrentIndex(): number

getIndex

getNextGooglePhotos

  • getNextGooglePhotos(num: number, idx: number): SSPhoto[]

getNextUsable

hasUsable

  • hasUsable(): boolean

incCurrentIndex

  • incCurrentIndex(): number

loadPhotos

  • loadPhotos(randomize: boolean): Promise<boolean>

setCurrentIndex

  • setCurrentIndex(idx: number): void

shuffle

  • shuffle(): void

updateGooglePhotoUrls

  • updateGooglePhotoUrls(photos: IPhoto[]): void

Generated using TypeDoc