Forum - customization by angularJS(Find controllers)
This topic contains 3 replies, has 4 voices, and was last updated by Ori Miller 1 month, 2 weeks ago.
- January 14, 2019 at 2:49 am #35248Anonymous
I am editing custome.js with angularJS. I noticed there’s many ‘controllers’ in it.Each controller has its own data.
But for now I have to view and find the ‘controllers’ in console view of web browser.It’s little inconveniences.
I want to know if there’s any documentation that I can find all supported controllers? such as:
Parent Controller – prmSearchResultAvailabilityLine
parentCtrl.result.pnx.control.sourcerecordid – MMSID
Parent Controller – prmLoginHelp
parentCtrl.loginHelpService._loginHelpData.moreInfo – Sign-in Help Text
Parent Controller – prmLocations
parentCtrl.results.location.callNumber – Item Call Number
parentCtrl.results.availability – Item Avaliability
parentCtrl.results.additionalData.mainlocationname – Main Location Name
Parent Controller – prmGalleryCollectionsList
parentCtrl.collections.name – Collection Title
parentCtrl.collections.pid.value – Collection ID
Thank you.March 6, 2019 at 4:22 am #39855Beijing Normal University 86BNU_INSTParticipant
Hi Is there any comments or advise?April 8, 2019 at 2:47 am #51696Macau University of Science and Technology 853MUST_INSTParticipant
any updates?April 8, 2019 at 9:10 am #51697Ori MillerKeymaster
Unfortunately, there isn’t such documentation that can tell exactly what each parameter means.
The only thing that available now is the showDirectives script that provided in primo-explore-package GitHub repository (https://github.com/ExLibrisGroup/primo-explore-package/blob/master/VIEW_CODE/showDirectives.txt) which can tell you what components are free to use by the customization package.
You must be logged in to reply to this topic.