Socket
Socket
Sign inDemoInstall

kendo-multi-calendar

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kendo-multi-calendar

Kendo UI calendar with multiple date selection.


Version published
Weekly downloads
43
increased by514.29%
Maintainers
1
Install size
27.2 kB
Created
Weekly downloads
 

Readme

Source

kendo-multi-calendar

npm version Build Status codecov Dependency Status devDependency Status typings included npm

Build Status

Extended Kendo UI Calendar widget that supports multiselection. Demo

Installation

npm i kendo-multi-calendar

kendo-multi-calendar(.min).js script should be included in your project along with kendo-ui-core or kendo-ui.

Usage

var multiCalendar = $("#multiCalendar").kendoMultiCalendar({
    // use 'values' option instead of 'value',
    // defaults to []
    values: [new Date(), new Date(2016, 5, 2)], 

    // set selection limits, 
    // defaults to null - no limit
    maxSelectedItems: 3,

    // if true - only today date will be selected after click on date in footer,
    // if false - today date will be added to selected dates,
    // defaults to true
    cleanSelectedItemsOnTodayClick: false,

    //... everything else is just like in ordinary Kendo UI Calendar
}).data('kendoMultiCalendar');

multiCalendar.values([]);

Typescript

This module also contains type declarations.

// use 'reference' directive
/// <reference path="node_modules/kendo-multi-calendar/dist/kendo-multi-calendar.d.ts" />

// or add types to 'compilerOptions' in your tsconfig.json:
// ...
// "types": [ "kendo-multi-calendar" ],
// ...

const calendar = new kendoExt.MultiCalendar('#multiCalendar');

Keywords

FAQs

Last updated on 05 Mar 2018

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