Socket
Socket
Sign inDemoInstall

swipe-array

Package Overview
Dependencies
935
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    swipe-array

Element that render a template with a array in input


Version published
Weekly downloads
13
increased by44.44%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 04 Jan 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc