New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cnbritain/wc-digitaleditions-bbcode-gallery

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cnbritain/wc-digitaleditions-bbcode-gallery

digital editions gallery

  • 1.0.17
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

digital editions gallery

Macro settings

KeyOptionalDefaultDescription
Example argfalse

JS Documentation

Digital Editions BBCode gallery

  • @cnbritain/wc-digitaleditions-bbcode-gallery
    • static
      • .mapImagesToPswp(imgTuple, i, arr)Object
    • inner

@cnbritain/wc-digitaleditions-bbcode-gallery.mapImagesToPswp(imgTuple, i, arr) ⇒ Object

map function to transform Merlin list of image 2-tuples to Photoswipe array of images (only takes the 2nd value in the tuple)

Kind: static method of @cnbritain/wc-digitaleditions-bbcode-gallery
Returns: Object - item object (http://photoswipe.com/documentation/getting-started.html)

ParamTypeDescription
imgTupleArray2-tuple containing images
iNumberarray index
arrArrayarray

@cnbritain/wc-digitaleditions-bbcode-gallery~GalleryManager

Kind: inner class of @cnbritain/wc-digitaleditions-bbcode-gallery

new GalleryManager()

Interface for Photoswipe gallery implementation

@cnbritain/wc-digitaleditions-bbcode-gallery~init(selectorGalleryThumbs, options) ⇒ void

initialise

Kind: inner method of @cnbritain/wc-digitaleditions-bbcode-gallery

ParamTypeDescription
selectorGalleryThumbsStringselector
optionsObjectPhotoswipe options (http://photoswipe.com/documentation/options.html)

@cnbritain/wc-digitaleditions-bbcode-gallery~displayGallery(e) ⇒ void

display the PhotoSwipe gallery

Kind: inner method of @cnbritain/wc-digitaleditions-bbcode-gallery

ParamTypeDescription
eObjectdisplay event

Themes

Prerequisites:

  • Node.jsbrew install node
  • Grunt - npm install -g grunt-cli
  • Other prereqs? Python? Virtualenv?

Demo:

Install dependencies:

npm install

Build the things:

npm run sass
npm run js
npm run docs

Hint your JS

npm run jshint

Python the pythons:

npm run demo-install

Start the demo server:

python demo.py

FAQs

Package last updated on 28 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc