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

@fullcalendar/timegrid

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/timegrid

Display events on time slots

  • 6.1.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
560K
decreased by-0.73%
Maintainers
1
Weekly downloads
 
Created

What is @fullcalendar/timegrid?

@fullcalendar/timegrid is a plugin for FullCalendar that provides a time grid view, which is useful for displaying events in a calendar format that emphasizes time slots. This is particularly useful for applications that need to show daily or weekly schedules with time-specific events.

What are @fullcalendar/timegrid's main functionalities?

Time Grid View

This feature allows you to create a time grid view for your calendar, which can display events in a weekly or daily format with time slots.


{
  "import": "import { Calendar } from '@fullcalendar/core';",
  "import": "import timeGridPlugin from '@fullcalendar/timegrid';",
  "code": "const calendarEl = document.getElementById('calendar');",
  "code": "const calendar = new Calendar(calendarEl, { plugins: [timeGridPlugin], initialView: 'timeGridWeek' });",
  "code": "calendar.render();"
}

Event Rendering

This feature allows you to render events on the time grid view, specifying the start and end times for each event.


{
  "import": "import { Calendar } from '@fullcalendar/core';",
  "import": "import timeGridPlugin from '@fullcalendar/timegrid';",
  "code": "const calendarEl = document.getElementById('calendar');",
  "code": "const calendar = new Calendar(calendarEl, { plugins: [timeGridPlugin], initialView: 'timeGridWeek', events: [ { title: 'Meeting', start: '2023-10-07T10:00:00', end: '2023-10-07T12:00:00' } ] });",
  "code": "calendar.render();"
}

Customizable Time Slots

This feature allows you to customize the duration of each time slot in the time grid view, making it flexible to fit different scheduling needs.


{
  "import": "import { Calendar } from '@fullcalendar/core';",
  "import": "import timeGridPlugin from '@fullcalendar/timegrid';",
  "code": "const calendarEl = document.getElementById('calendar');",
  "code": "const calendar = new Calendar(calendarEl, { plugins: [timeGridPlugin], initialView: 'timeGridWeek', slotDuration: '00:30:00' });",
  "code": "calendar.render();"
}

Other packages similar to @fullcalendar/timegrid

Keywords

FAQs

Package last updated on 29 Nov 2023

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