
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
csc-adv-int-basic-gallery
Advanced tools
const BasicGallery = require('csc-adv-int-basic-gallery');
document.addEventListener('DOMContentLoaded', () => {
const base = document.getElementsByClassName('gallery')[0];
const containerWidth = base.getBoundingClientRect().width;
// 500 / 375 = containerWidth / X
const displayHeight = Math.round((containerWidth * 375) / 500);
base.style.height = "" + displayHeight + "px";
const gallery = new BasicGallery(base.getElementsByClassName('full-images')[0]);
}, false);
/**
* @param {!Element} container
* @param {{
* startSlide: (number|undefined),
* continuous: (boolean|undefined),
* speed: (number|undefined)
* }=} options
*/
constructor(container, options) { }
/**
* Advance to the next image
*/
next() { }
/**
* Advance to the previous image
*/
prev() { }
/**
* A simple positive modulo using this.slides.length
*
* @param {number} index
* @return {number}
*/
wrapIndex(index) { }
/**
* @param {number} destinationIndex
* @param {number=} slideSpeed
* @param {boolean=} ignoreWrap
*/
slide(destinationIndex, slideSpeed, ignoreWrap) {}
/**
* @param {number} index
* @param {number} offset
* @param {number=} delay in milliseconds
*/
resetSlide(index, offset, delay) {}
/*
* Called whenever the slide index is changed. Override in derived classes
* to add specific handling.
*/
slideChanged() {};
FAQs
Basic touch enabled image slider
The npm package csc-adv-int-basic-gallery receives a total of 0 weekly downloads. As such, csc-adv-int-basic-gallery popularity was classified as not popular.
We found that csc-adv-int-basic-gallery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers