Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fullcalendar/timeline

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/timeline

Display events on a horizontal time axis (without resources)

  • 6.1.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
101K
decreased by-14.28%
Maintainers
1
Weekly downloads
 
Created

What is @fullcalendar/timeline?

@fullcalendar/timeline is a plugin for FullCalendar that provides a timeline view, which is useful for visualizing events over a long period of time. It is particularly useful for scheduling applications, project management, and resource management.

What are @fullcalendar/timeline's main functionalities?

Basic Timeline View

This code initializes a FullCalendar instance with the timeline plugin and sets the initial view to a daily timeline. It also includes two sample events.

const calendarEl = document.getElementById('calendar');
const calendar = new FullCalendar.Calendar(calendarEl, {
  plugins: [ 'timeline' ],
  initialView: 'timelineDay',
  events: [
    { title: 'Event 1', start: '2023-10-01T10:00:00', end: '2023-10-01T12:00:00' },
    { title: 'Event 2', start: '2023-10-01T13:00:00', end: '2023-10-01T15:00:00' }
  ]
});
calendar.render();

Resource Timeline View

This code initializes a FullCalendar instance with the resource timeline plugin and sets the initial view to a daily resource timeline. It includes two resources and two events assigned to these resources.

const calendarEl = document.getElementById('calendar');
const calendar = new FullCalendar.Calendar(calendarEl, {
  plugins: [ 'resourceTimeline' ],
  initialView: 'resourceTimelineDay',
  resources: [
    { id: 'a', title: 'Resource A' },
    { id: 'b', title: 'Resource B' }
  ],
  events: [
    { title: 'Event 1', start: '2023-10-01T10:00:00', end: '2023-10-01T12:00:00', resourceId: 'a' },
    { title: 'Event 2', start: '2023-10-01T13:00:00', end: '2023-10-01T15:00:00', resourceId: 'b' }
  ]
});
calendar.render();

Customizable Time Slots

This code initializes a FullCalendar instance with the timeline plugin and sets the initial view to a weekly timeline with 30-minute time slots. It includes two sample events.

const calendarEl = document.getElementById('calendar');
const calendar = new FullCalendar.Calendar(calendarEl, {
  plugins: [ 'timeline' ],
  initialView: 'timelineWeek',
  slotDuration: '00:30',
  events: [
    { title: 'Event 1', start: '2023-10-01T10:00:00', end: '2023-10-01T12:00:00' },
    { title: 'Event 2', start: '2023-10-01T13:00:00', end: '2023-10-01T15:00:00' }
  ]
});
calendar.render();

Other packages similar to @fullcalendar/timeline

Keywords

FAQs

Package last updated on 12 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc