Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-calendars

Package Overview
Dependencies
Maintainers
3
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-calendars

A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.


Version published
Weekly downloads
135K
increased by1.72%
Maintainers
3
Weekly downloads
 
Created

What is @syncfusion/ej2-calendars?

@syncfusion/ej2-calendars is a comprehensive package for implementing calendar-related functionalities in web applications. It provides a variety of components such as DatePicker, TimePicker, DateRangePicker, and DateTimePicker, which are highly customizable and easy to integrate.

What are @syncfusion/ej2-calendars's main functionalities?

DatePicker

The DatePicker component allows users to select a date from a calendar popup. It supports various date formats and customizations.

import { DatePicker } from '@syncfusion/ej2-calendars';

let datePicker = new DatePicker({
    value: new Date(),
    placeholder: 'Select a date'
});
datePicker.appendTo('#element');

TimePicker

The TimePicker component enables users to select a time from a list of time values. It supports different time formats and customizations.

import { TimePicker } from '@syncfusion/ej2-calendars';

let timePicker = new TimePicker({
    value: new Date(),
    placeholder: 'Select a time'
});
timePicker.appendTo('#element');

DateRangePicker

The DateRangePicker component allows users to select a range of dates from a calendar popup. It supports various date formats and customizations.

import { DateRangePicker } from '@syncfusion/ej2-calendars';

let dateRangePicker = new DateRangePicker({
    startDate: new Date('1/1/2023'),
    endDate: new Date('1/10/2023'),
    placeholder: 'Select a date range'
});
dateRangePicker.appendTo('#element');

DateTimePicker

The DateTimePicker component combines the functionalities of DatePicker and TimePicker, allowing users to select both date and time from a single popup.

import { DateTimePicker } from '@syncfusion/ej2-calendars';

let dateTimePicker = new DateTimePicker({
    value: new Date(),
    placeholder: 'Select a date and time'
});
dateTimePicker.appendTo('#element');

Other packages similar to @syncfusion/ej2-calendars

Keywords

FAQs

Package last updated on 09 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