Catalog npm
Back to packageRELEASE DETAILS

1.0.11

npm

3d-carousel-vanilla

3d carousel js

3d carousel3d carousel js3d carousel vanila jscarouselsimple 3d carousel
Published4 Sept 2024
Direct dependencies1
Transitive dependenciesNot calculated

README

Current package documentation

preview

import { Carousel } from "3d-carousel-vanilla";

<div id="carousel">
	<div class="carousel-container">
		<div class="carousel-item">Slide 1</div>
		<div class="carousel-item">Slide 2</div>
		<div class="carousel-item">Slide 3</div> 
		<div class="carousel-item">Slide 4</div> 
		<div class="carousel-item">Slide 5</div> 
	</div>
</div>

Example

const carousel = new Carousel('#carousel',{
  container: '.carousel-container',
  items:'.carousel-item',
  step: 1,
  firstSlide: 0,
  scale: 0.5,
  opacity: 1,
  autoplay: 3000,
  transition: 0.3,
  context:{
    contextX: 1,
    contextY: 0.6,
  },
});
const carousel = new Carousel('#carousel',{
    container: '.carousel-container'
    items:'.carousel-item',
});

container - slided wrapper

container: 'your class name'

items - Required parameter for searching slides

items:'your class'

firstSlide - Parameter allows you to set the number of the initial slide (default 0)

autoplay - Delay between transitions (in ms). If this parameter is not specified, auto play will be disabled autoplay: 3000

step - Number of slides per scrolling

step: 1

transition - time between two states of an element (default: 0.3) in sec.

context - Props for perspective (from -1 to 1)

context: { contextX: 1, contextY: 0.6, }

scale - minimum value for scale (default 1)

opacity - minimum value for opacity (default 1)

resetDefaultStyles - reser all default styles (default: false)

METHODS

init() - initialize carousel

destroy() - destroy carousel

autoplay(value) - initialize autoplay

stopAutoplay() - stop autoplay

getActiveItem() - get active slide

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
swipe-dk
Environment
{
  "local_name": "swipe-dk",
  "alias": false,
  "peer_metadata": null
}
^1.0.3runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f50c61d2b283832749a0d45a741b85e5949c681b",
  "tarball": "https://registry.npmjs.org/3d-carousel-vanilla/-/3d-carousel-vanilla-1.0.11.tgz",
  "fileCount": 4,
  "integrity": "sha512-fzNV5BXhme6IzaD3M2K6kw4tzEFwXTrqVDqemIwu+GPHw/ZiGNxHXbL6/B6s7ZMKzhmfMocE0HBCfnIkRwo7hw==",
  "signatures": [
    {
      "sig": "MEQCIE7VYJjjyf6GJoz86YDPmxmXZiiQw3HKSO5j6dryjYBhAiALlRcjjQGEds6VS2CWHsPbAA8RSUlmBtOHQsx1JaSRQg==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 26747
}

Repository

ACCESSIBLE
dmytrokravchuk/3dcarousel

Shared repository data · GitHub

License detected in repository
Not collected
Last push
20 Jan 2023
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots21 Oct 2026
10.50
2026-10-21: 0 · observed 2026-10-21T16:39:00.9336929Z
21 Oct21 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2102026-10-21T16:39:00.9336929Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:366b5335fb9539a9463600733dbd56b28ea5a3d692aa14c14d2e040bedb941e4

Other collected versions

1.0.124 Sept1.0.104 Sept1.0.920 Jan1.0.820 Jan1.0.720 Jan1.0.614 DecView all collected versions →