new ArtController($scope, $log)
Controller for handling presentation logic in art gallery section
Parameters:
Name | Type | Description |
---|---|---|
$scope |
$scope | See https://code.angularjs.org/1.2.26/docs/api/ng/type/$rootScope.Scope |
$log |
$log | See https://code.angularjs.org/1.2.26/docs/api/ng/service/$log |
- Source:
Methods
formatArt(art)
Function reads the data and generates list used for view and photoswipe
Parameters:
Name | Type | Description |
---|---|---|
art |
Obj | The data containing all art information |
- Source:
openPhotoSwipe(artItem)
Function that opens a specific item in Photoswipe
Parameters:
Name | Type | Description |
---|---|---|
artItem |
Obj | The art item, video or image |
- Source: