Class: PhotoGroup

PhotoGroup(data)

Class representing a group (0 or more) photos.

Constructor

new PhotoGroup(data)

Constructs an PhotoGroup object
Parameters:
Name Type Description
data PhotoGroup | Object
Source:

Members

_id :string

Unique ID for the PhotoGroup.
Type:
  • string
Default Value:
  • ''
Source:

filenames :Array.<string>

Filenames, in order to display, of the photos in this PhotoGroup (no path, but does include extension).
Type:
  • Array.<string>
Default Value:
  • ''
Source:

title :string

Title of the PhotoGroup.
Type:
  • string
Default Value:
  • ''
Source:

Methods

set(data) → {PhotoGroup}

Creates an updated PhotoGroup object
Parameters:
Name Type Description
data PhotoGroup | Object
Source:
Returns:
Type
PhotoGroup