directive:mohistory.socialSidebar source

Social sidebar that shows up on 'all' exhibit, event, blog post, and collection item. Links are open in new tab and on desktop bar can scroll with page.

Members

$inject

Methods

onInit

Setup function, mainly used to set the url if it was not passed in.

socialSidebarLink (scope, element, attrs)

Link function to allow social sidebar to scroll with the page.

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 their corresponding attribute values.