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

basic-arrow-selection

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-arrow-selection

Mixin used to add prominent left and right arrow buttons to a wrapped child. Clicking the left/right buttons selects the previous/next item.

  • 0.7.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
2
Weekly downloads
 
Created
Source

ArrowSelection

Component which adds prominent left and right arrow buttons to a wrapped child such as a carousel.

You can see a live demo of this component applied to a carousel.

Clicking the left/right buttons selects the previous/next item.

Typical usage:

<basic-arrow-selection>
  <basic-carousel>
    ... images, etc. ...
  </basic-carousel>
</basic-arrow-selection>

By default, the arrow buttons are shown on devices with a mouse or mouse-like point device. They are not shown on a touch-capable device unless mouse movement is detected. To cause the buttons to always appear, apply the 'showArrows' CSS class.

Kind: global class
Mixes: DistributedChildrenAsContent, TargetInCollective, ContentFirstChildTarget, ItemsSelection, Keyboard, TargetSelection

Keywords

FAQs

Package last updated on 30 Jan 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