Socket
Socket
Sign inDemoInstall

swipe-plugin-ts

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    swipe-plugin-ts

custom swipe plugin for fullcalendar


Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

swipe-plugin-ts

swipe plugin typescript for fullcalendar

Custom swipe plugin from FullCalendar

The swipe ts React Plugin for FullCalendar

Installation

npm i swipe-plugin-ts

Usage

import useSwipePlugin from 'swipe-plugin-ts'

Create plugin

Create with 1000ms swipe speed


const swipePlugin = useSwipePlugin(refCalendar, 1000);

export function DemoApp() {
  return (
    <div>
      <h1>Demo App</h1>
      <FullCalendar ref={refCalendar}
        plugins={[swipePlugin]}
        initialView='dayGridMonth'
        weekends={false}
        events={events}
        eventContent={renderEventContent}
      />
    </div>
  )
}

Keywords

FAQs

Last updated on 08 Feb 2024

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