directive:mohistory.slideshowDialog source

Directive for the photo slideshow accessible via blog posts.

Members

$inject

Methods

onChanges

Any changes to the information passed into this component from the parent will trigger this hook.

onInit

Called when component is created.

slideNext

Advance slide show. Only available when there is content in the mhs:slideshow portion of the dataset

slidePrevious

Retreat the slide show. Only available when there is content in the mhs:slideshow portion of the dataset

slideshowDialogLink ($scope, $element, $attrs, $ctrl)

Update the DOM and handle keyboard events for slideshow-dialog.

Parameters:
NameTypeDescription
$scope

an AngularJS scope object.

$element

the jqLite-wrapped element that this directive matches.

$attrs

a hash object with key-value pairs of normalized attribute names and their corresponding attribute values.

$ctrl

the controller associated with the directive