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

basic-sliding-viewport

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-sliding-viewport - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

4

package.json
{
"name": "basic-sliding-viewport",
"version": "0.7.0",
"version": "0.7.1",
"description": "Presents list items in a viewport such that only a single item is visible at a time. Navigating between items will be represented with a horizontal visual sliding effect.",

@@ -14,3 +14,3 @@ "homepage": "https://component.kitchen",

"dependencies": {
"basic-element-base": "^0.7.0"
"basic-element-base": "^0.7.1"
},

@@ -17,0 +17,0 @@ "browserify": {

<a name="SlidingViewport"></a>
## SlidingViewport
Presents list items in a viewport such that only a single item is
visible at a time
Presents list items in a viewport such that only a single item is visible at
a time.

@@ -15,4 +15,4 @@ Navigating between items will be represented with a horizontal visual

**Kind**: global class
<a name="position"></a>
## position : <code>Number</code>
<a name="SlidingViewport+position"></a>
### slidingViewport.position : <code>number</code>
The fractional position of the element's moving surface while it is being

@@ -26,8 +26,2 @@ moved (dragged/scrolled/etc.).

**Kind**: global variable
**Properties**
| Name |
| --- |
| position |
**Kind**: instance property of <code>[SlidingViewport](#SlidingViewport)</code>

@@ -0,5 +1,9 @@

import ElementBase from '../../basic-element-base/src/ElementBase';
import SpreadItems from '../../basic-spread-items/src/SpreadItems'; // jshint ignore:line
let base = ElementBase;
/**
* @class SlidingViewport
* @classdesc Presents list items in a viewport such that only a single item is
* visible at a time
* Presents list items in a viewport such that only a single item is visible at
* a time.
*

@@ -14,11 +18,4 @@ * Navigating between items will be represented with a horizontal visual

*/
class SlidingViewport extends base {
import ElementBase from '../../basic-element-base/src/ElementBase';
import SpreadItems from '../../basic-spread-items/src/SpreadItems'; // jshint ignore:line
let base = ElementBase;
export default class SlidingViewport extends base {
attachedCallback() {

@@ -57,4 +54,3 @@ if (super.attachedCallback) { super.attachedCallback(); }

*
* @property position
* @type Number
* @type {number}
*/

@@ -192,1 +188,2 @@ get position() {

document.registerElement('basic-sliding-viewport', SlidingViewport);
export default SlidingViewport;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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