New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

swipe-array

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swipe-array

Element that render a template with a array in input

  • 0.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

<swipe-array>

Pipeline status Published on NPM

Element that render a template with a array in input

Install

Install with Yarn

Using Yarn

$ yarn add swipe-array

Install with NPM

Simple install
$ npm install swipe-array --save
Manual install

First, make sure you have Bower and Polymer CLI installed

$ npm install swipe-array --no-optional --save

Install with Bower

First, make sure you have Bower and Polymer CLI installed

$ npm install fixed-size-circular-array --save
$ bower install swipe-array --save
$ npm run-script analyze # if you need to watch the documentation

Usage

<swipe-array> need an array by filling items attribute and a <template> to know how to render element

<swipe-array
	turn
	swipeable
	items='[ "royalblue", "darkgreen", "purple", "mediumslateblue", "maroon" ]'
>
	<template>
		<div style="background-color: [[item]];">[[item]]</div>
	</template>
</swipe-array>

Viewing element

$ npm start

Running tests

To run tests, you must install NPM devDependencies

$ npm test

Licence

MIT

Keywords

FAQs

Package last updated on 04 Jan 2018

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