1.0.5 • Published 1 year ago

swipe-plugin-ts v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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>
  )
}
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago