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

Comparing version 1.0.0 to 1.0.1

12

calendar-plugin.ts

@@ -105,7 +105,9 @@ import { createPlugin } from '@fullcalendar/core';

setTimeout(() => {
table.style.backgroundColor = '';
table.style.transform = '';
tableWrapper.style.overflow = '';
}, ANIMATE_TIME);
requestAnimationFrame(() => {
requestAnimationFrame(() => {
table.style.backgroundColor = '';
table.style.transform = '';
tableWrapper.style.overflow = '';
});
});

@@ -112,0 +114,0 @@ shadowTable.remove();

{
"name": "swipe-plugin-ts",
"version": "1.0.0",
"version": "1.0.1",
"description": "custom swipe plugin for fullcalendar",

@@ -5,0 +5,0 @@ "main": "calendar-plugin.ts",

# swipe-plugin
swipe plugin for fullcalendar
# Custom from FullCalendar
The official [React](https://reactjs.org/) Component for [FullCalendar](https://fullcalendar.io)
## Installation
```sh
npm i swipe-plugin-ts
```
## Usage
Render a `FullCalendar` plugins:
```jsx
import useSwipePlugin from 'swipe-plugin-ts'
const swipePlugin = useSwipePlugin(refCalendar);
export function DemoApp() {
return (
<div>
<h1>Demo App</h1>
<FullCalendar
plugins={[swipePlugin]}
initialView='dayGridMonth'
weekends={false}
events={events}
eventContent={renderEventContent}
/>
</div>
)
}
```
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