Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@fullcalendar/resource

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/resource

Base support for resources, required by resource views

latest
Source
npmnpm
Version
6.1.19
Version published
Weekly downloads
156K
-2.93%
Maintainers
1
Weekly downloads
 
Created
Source

FullCalendar Resource Plugin

Base support for resources, required by resource views

Installation

It is necessary to install this package as a peer dependency of any other package that utilizes resources (such as resource-timeline view):

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

Usage

This package is especially useful for obtaining the ResourceInput TypeScript type:

import { Calendar } from '@fullcalendar/core'
import { ResourceInput } from '@fullcalendar/resource'
import resourceTimelinePlugin from '@fullcalendar/resource-timeline'

const resources: ResourceInput[] = [
  { title: 'Resource A' },
  { title: 'Resource B' }
]

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [ resourceTimelinePlugin ],
  initialView: 'resourceTimeline',
  resources: resources
})

calendar.render()

Keywords

calendar

FAQs

Package last updated on 10 Aug 2025

Did you know?

Socket

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