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 - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

6

package.json
{
"name": "basic-arrow-selection",
"version": "0.7.0",
"version": "0.7.1",
"description": "Mixin used to add prominent left and right arrow buttons to a wrapped child. Clicking the left/right buttons selects the previous/next item.",

@@ -15,4 +15,4 @@ "homepage": "https://component.kitchen",

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

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

<a name="ArrowSelection"></a>
## ArrowSelection
Component which adds prominent left and right arrow buttons to a
wrapped child such as a carousel
Component which adds prominent left and right arrow buttons to a wrapped
child such as a carousel.
You can see a [live demo](http://basicwebcomponents.org/basic-web-components/packages/basic-carousel/carouselWithArrows.html)
of this component applied to a carousel.
Clicking the left/right buttons selects the previous/next item.

@@ -7,0 +10,0 @@

@@ -0,6 +1,28 @@

import ElementBase from '../../basic-element-base/src/ElementBase';
import ContentFirstChildTarget from '../../basic-component-mixins/src/ContentFirstChildTarget';
import DistributedChildrenAsContent from '../../basic-component-mixins/src/DistributedChildrenAsContent';
import ItemsSelection from '../../basic-component-mixins/src/ItemsSelection';
import Keyboard from '../../basic-component-mixins/src/Keyboard';
import ObserveContentChanges from '../../basic-component-mixins/src/ObserveContentChanges';
import TargetInCollective from '../../basic-component-mixins/src/TargetInCollective';
import TargetSelection from '../../basic-component-mixins/src/TargetSelection';
let base = ElementBase.compose(
ContentFirstChildTarget,
DistributedChildrenAsContent,
ItemsSelection,
Keyboard,
ObserveContentChanges,
TargetInCollective,
TargetSelection
);
/**
* @class ArrowSelection
* @classdesc Component which adds prominent left and right arrow buttons to a
* wrapped child such as a carousel
* Component which adds prominent left and right arrow buttons to a wrapped
* child such as a carousel.
*
* You can see a [live demo](http://basicwebcomponents.org/basic-web-components/packages/basic-carousel/carouselWithArrows.html)
* of this component applied to a carousel.
*
* Clicking the left/right buttons selects the previous/next item.

@@ -28,26 +50,4 @@ *

*/
class ArrowSelection extends base {
import ElementBase from '../../basic-element-base/src/ElementBase';
import ContentFirstChildTarget from '../../basic-component-mixins/src/ContentFirstChildTarget';
import DistributedChildrenAsContent from '../../basic-component-mixins/src/DistributedChildrenAsContent';
import ItemsSelection from '../../basic-component-mixins/src/ItemsSelection';
import Keyboard from '../../basic-component-mixins/src/Keyboard';
import ObserveContentChanges from '../../basic-component-mixins/src/ObserveContentChanges';
import TargetInCollective from '../../basic-component-mixins/src/TargetInCollective';
import TargetSelection from '../../basic-component-mixins/src/TargetSelection';
let base = ElementBase.compose(
ContentFirstChildTarget,
DistributedChildrenAsContent,
ItemsSelection,
Keyboard,
ObserveContentChanges,
TargetInCollective,
TargetSelection
);
export default class ArrowSelection extends base {
get canSelectNext() {

@@ -286,1 +286,2 @@ return super.canSelectNext;

document.registerElement('basic-arrow-selection', ArrowSelection);
export default ArrowSelection;

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