Socket
Socket
Sign inDemoInstall

calendar_xinonix

Package Overview
Dependencies
175
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    calendar_xinonix

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


Version published
Maintainers
1
Created

Readme

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

Last updated on 16 Aug 2022

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