This package has been deprecated

Author message:

use PBO config instead

primo-explore-worldcat-button

0.1.1 • Public • Published

primo-explore-worldcat-button

installation

setting up the dev environment

(to be written)

installing the button

to install the package, from inside your package directory (e.g. /primo-explore/LCC_NEWUI), run:

npm install primo-explore-worldcat-button --save-dev

to enable the button, edit your 2_options.js (or another file in the package's js directory) and add the following lines:

addWorldcatButton({
    title: 'Your search returned zero results, but more might be available by searching WorldCat.',
    link: 'https://www.worldcat.org/'
});

configuring the button

the button has two configurable options:

  • "title": the text that will appear with the button.
  • "link": the address of the worldcat instance that should be searched. include the trailing slash.

you can edit the code in your 2_options.js to change these values.

Package Sidebar

Install

npm i primo-explore-worldcat-button

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • budak