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

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.

  • 0.7.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
Maintainers
2
Weekly downloads
 
Created
Source

API Documentation

SlidingViewport ⇐ ElementBase

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.

This component handles the rendering responsibilities for the basic-carousel component.

This component currently requires that you explicitly apply a size to it.

Kind: global class Extends: ElementBase

slidingViewport.position : number

The fractional position of the element's moving surface while it is being moved (dragged/scrolled/etc.).

This is expressed as a fraction of the element's width. If the value is positive, the surface is being moved to the left; if negative, the surface is being moved to the right. E.g., a value of 0.5 indicates the surface has moved half the element's width to the left.

Kind: instance property of SlidingViewport

Keywords

FAQs

Package last updated on 28 Mar 2016

Did you know?

Socket

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.

Install

Related posts

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