New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

calendar_xinonix

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendar_xinonix

������������� ������ � ���� ���������

0.1.1
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

fullcalendar

Calendar plugin based on FullCalendar. For more information, see the fullcalendar documentation.

Setup

This plugin creates a new viewtemplate which displays a calendar.

You will need a table for your events. It will need several fields:

PurposeTypeRequired?
Title of event to display on the calendarstringyes
Time/date the event startsdateyes
Is this an all-day event?boolno
Duration of the eventfloat or intno

If you want to store your events with a start and end date, rather than a start date and a duration, you can use a calculated field. Create your start and end fields (date type). Then, create a stored calculated field for the duration. Use the formula (end - start) / 1000, where end is your end date and start is your start date. In the view configuration, set the unit to "Seconds".

You can also specify an edit view to create new events and a show/edit view to display when the user clicks an event on the calendar.

Calendar views

When setting up a calendar, you will have the option to specify different view options such as month, week, day, list, etc. You can use any of the default options listed in the "views" section of the fullcalendar documentation.

Advanced users can specify their own views object. You can use your custom views in the other fields when setting up your calendar.

Example of a custom views object:

views: {
  timeGridFourDay: {
    type: 'timeGrid',
    duration: { days: 4 },
    buttonText: '4 day',
  },
}

FAQs

Package last updated on 16 Aug 2022

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