1.0.5 • Published 2 years ago

swipe-plugin-ts v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years 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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago