Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@benev/swipe-snail

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benev/swipe-snail

fastest swipe system known to man

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
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)

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

    <script defer src="https://unpkg.com/@benev/swipe-snail/x/elements.js"></script>
    
  • 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>
    
  • 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

swipe

FAQs

Package last updated on 05 Dec 2022

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