Socket
Socket
Sign inDemoInstall

@fullcalendar/resource-timegrid

Package Overview
Dependencies
7
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fullcalendar/resource-timegrid

Displays events on a vertical resource view with time slots


Version published
Weekly downloads
60K
increased by3.43%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

FullCalendar Resource Time Grid Plugin

Display events on day/resource time slots

Installation

Install the necessary packages. The resource plugin is a required peer dependency:

npm install @fullcalendar/core @fullcalendar/resource @fullcalendar/resource-timegrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import resourceTimeGridPlugin from '@fullcalendar/resource-timegrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [resourceTimeGridPlugin],
  initialView: 'resourceTimeGridDay',
  resources: [
    { title: 'Resource A' },
    { title: 'Resource B' }
  ]
})

calendar.render()

Keywords

FAQs

Last updated on 20 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