Catalog npm
Back to packageRELEASE DETAILS

1.0.8

npm

3d-carousel-vanilla

3d carousel js

3d carousel3d carousel js3d carousel vanila jscarouselsimple 3d carousel
Published20 Jan 2023
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": "fe40f555752373f370deefe694fb8552e9858161",
  "tarball": "https://registry.npmjs.org/3d-carousel-vanilla/-/3d-carousel-vanilla-1.0.8.tgz",
  "fileCount": 4,
  "integrity": "sha512-XQ5LR0NHs+uHO03PGTzPwl2FFH2fV4VdrmEtRH2azrmogg0yDrAWePxMvrloeeb9ktgjcLhcMvLbrlIDMLO/Rg==",
  "signatures": [
    {
      "sig": "MEUCIEucmo8cDlLmJgRANlhRO73mO9Iih1Cnf9jEuJsXYIPmAiEAqHKCj9OWg0N/pHqUfUtF48bYuXvO0Ay2d/WCR6VjzXM=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 26064,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjynnxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbiA/+IgqlO7GbA6cUFrjOjWsBSW2vi8j8Ac584pZYdqPovwIb0TLI\r\nU0QHmLfB9mJp9eakyH85EqR5VVHQS7LiVznDTpC0xSul2uWDlWFDhTohrSbZ\r\nZDpAvt38ZP7SKXh54bnb8H/B5oakpN2lh/M0zAeBWf3vUvdnXndcGkA7G8lV\r\nItS0s1PG1lLAsvCJZPXpL9yU/x3RaYhCPKXhC6dWZTHw6DcTvRnanmVhFPJ8\r\n5rmu5wTd+1pxUBl/wYGIRY/nWAsdBA0tS5vv64TAaQppHgwbNgzceXQ2M4bI\r\nsM/lH0SZBitgnvp8CCWcMtx8XsZeKUC6YHOSi/JeOZK50JNhku1iHZyIvNpm\r\nDPCem7hZc3LtNFg1+8UqhOxJKWoNaLnElA7iIDAjQFbCVAJpEwc6Vo7LvtLG\r\n7WjZzZSBdD+RMHZGF0N7Sed398zs5der9FY5j5wq/L1sbfUvVuoHlUIiXX6+\r\nbbSWbSC6zZya1a3i8OqG2Ij7MEf75/v07ji5PMrlF+cja/1ZEJZVhuyBmU7f\r\nJCyK7F8vO0fxm+BeOzkiwPbziwIrI8AljFfSgjxuQX92FvdE6QBbcv0Tea+i\r\nwciwlLDesUZcKnI3x0IRQeD9GOyKXmI8OCTIAgzeLGXdTp3fyLByBXdPgK7a\r\ndMwRG3dGBZ0zj6L6dnlPXTKQZwegpbNynmE=\r\n=maXV\r\n-----END PGP SIGNATURE-----\r\n"
}

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:db58ef098abab9588bdc7afdb8eb48094977cafbdf4f42eb642f5b9f7dade5e1

Other collected versions

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