mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-23 04:47:24 +08:00
Merge pull request #14358 from panic175/master
FullCalendar: Added two missing function definitions for renderEvents and updateEvents
This commit is contained in:
12
fullcalendar/index.d.ts
vendored
12
fullcalendar/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for FullCalendar 2.7.2
|
||||
// Project: http://fullcalendar.io/
|
||||
// Definitions by: Neil Stalker <https://github.com/nestalk>, Marcelo Camargo <https://github.com/hasellcamargo>
|
||||
// Definitions by: Neil Stalker <https://github.com/nestalk>, Marcelo Camargo <https://github.com/hasellcamargo>, Patrick Niemann <https://github.com/panic175>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="jquery"/>
|
||||
@@ -363,6 +363,11 @@ declare global {
|
||||
*/
|
||||
fullCalendar(method: 'updateEvent', event: EventObject): void;
|
||||
|
||||
/**
|
||||
* Reports changes for multiple events and renders them on the calendar.
|
||||
*/
|
||||
fullCalendar(method: 'updateEvents', events: Array<EventObject>): void;
|
||||
|
||||
/**
|
||||
* Retrieves events that FullCalendar has in memory.
|
||||
*/
|
||||
@@ -402,6 +407,11 @@ declare global {
|
||||
* Renders a new event on the calendar.
|
||||
*/
|
||||
fullCalendar(method: 'renderEvent', event: EventObject, stick?: boolean): void;
|
||||
|
||||
/**
|
||||
* Renders new events on the calendar.
|
||||
*/
|
||||
fullCalendar(method: 'renderEvents', events: Array<EventObject>, stick?: boolean): void;
|
||||
|
||||
/**
|
||||
* Rerenders all events on the calendar.
|
||||
|
||||
Reference in New Issue
Block a user