Created
May 15, 2020 23:42
-
-
Save MrJeremyHobbs/fabc8d20cb34af96fb7bdfe1aab77e4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
"use strict"; | |
var app = angular.module('viewCustom', ['angularLoad', 'hathiTrustAvailability']); | |
app.component('prmSearchResultAvailabilityLineAfter', { | |
template: '<hathi-trust-availability ignore-copyright="true"></hathi-trust-availability>' | |
}); | |
}) | |
var app = angular.module('viewCustom', ['angularLoad']); | |
// clickable logo | |
app.controller('prmLogoAfterController', [function() { | |
var vm = this; | |
vm.getIconLink = getIconLink; | |
function getIconLink() { | |
return vm.parentCtrl.iconLink; | |
} | |
}]); | |
app.component('prmLogoAfter', { | |
bindings: { | |
parentCtrl: '<' | |
}, | |
controller: 'prmLogoAfterController', | |
template: '<div class="product-logo product-logo-local" layout="row" layout-align="start center" layout-fill id="banner"><a href="http://library.sjsu.edu"><img class="logo-image" alt="{{::(\'nui.header.LogoAlt\' | translate)}}" ng-src="{{$ctrl.getIconLink()}}"/></a></div>' | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment