Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@longlost/app-carousel

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@longlost/app-carousel - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

24

app-carousel.js

@@ -8,8 +8,3 @@

*
* @customElement
* @polymer
* @demo demo/index.html
*
*
*
*

@@ -75,2 +70,8 @@ * Styling:

*
*
*
* @customElement
* @polymer
* @demo demo/index.html
*
**/

@@ -319,2 +320,9 @@

disconnectedCallback() {
super.disconnectedCallback();
window.removeEventListener('resize', this.__resizeHandler.bind(this));
}
// Array of all observed elements

@@ -761,2 +769,4 @@ // with a true isIntersecting prop.

if (!this._sections[index]) { return 0; }
// Dynamically measure scroller and target elements

@@ -773,2 +783,3 @@ // in order to catch all resizes.

const containerX = containerBBox.x;
return targetX - containerX;

@@ -780,2 +791,3 @@ }

const containerX = containerBBox.x + containerBBox.width;
return targetX - containerX;

@@ -794,3 +806,3 @@ }

throw new Error(`app-carousel position property must one of two choices -
throw new Error(`app-carousel position property must one of three choices -
'start'

@@ -797,0 +809,0 @@ 'center'

{
"name": "@longlost/app-carousel",
"version": "3.0.1",
"version": "3.0.2",
"description": "configurable carousel with autoplay, swipe, optional nav and av buttons",

@@ -24,3 +24,3 @@ "main": "app-carousel.js",

"@longlost/lambda": "^2.2.0",
"@longlost/utils": "^1.5.1",
"@longlost/utils": "^1.5.2",
"@polymer/iron-icon": "^3.0.1",

@@ -27,0 +27,0 @@ "@polymer/paper-icon-button": "^3.0.2",

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