Socket
Socket
Sign inDemoInstall

@benev/swipe-snail

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @benev/swipe-snail

fastest swipe system known to man


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

🐌 swipe-snail

🕹️ live demo at swipe-snail.benevolent.games

🙌 horizontal mobile-friendly website panels
📦 npm package @benev/swipe-snail


easy html-only install (without routing)

  1. paste this script into your html page's <head>

    <script defer src="https://unpkg.com/@benev/swipe-snail/x/elements.js"></script>
    
  2. place a snail-system and snail-panel into your html page's <body>

    <snail-system>
      <snail-panel></snail-panel>
      <snail-panel></snail-panel>
      <snail-panel></snail-panel>
    </snail-system>
    
  3. there are methods you can call on snail-system elements, and css properties you can set on both.

    you'll have to read the source code for more details.


advanced install (with routing)

  • routing is provided as a separate system.
  • see demo.ts as an example how to integrate swipe-snail with hash-routing

Keywords

FAQs

Last updated on 05 Dec 2022

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