ExhibitionElementInfoModel

ExhibitionElementInfoModel

This model represents an artwork info

Constructor

new ExhibitionElementInfoModel(data)

Source:
Parameters:
Name Type Description
data Object

Filled with data loaded in ExhibitionElementModel#loadInfos

Members

details :Map.<string, string>

Description:
  • Details is a list of text

Source:

Details is a list of text

Type:
  • Map.<string, string>

media :Array.<{type:string, src:string, description:string}>

Description:
  • List of media (image or video) elements Each media object consists of type: image or video, src: the path to the image or a Vimeo id and description: which is displayed as a caption.

Source:

List of media (image or video) elements Each media object consists of type: image or video, src: the path to the image or a Vimeo id and description: which is displayed as a caption.

Type:
  • Array.<{type:string, src:string, description:string}>

name :string

Description:
  • Display name of the info/artwork

Source:

Display name of the info/artwork

Type:
  • string