npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

scheduler-library

v1.2.2

Published

Library for calendars, timetables and schedules with events and resources.

Downloads

33

Readme

Scheduling Library for JavaScript and TypeScript

Interactive JavaScript library that provides the complete feature set for creating calendars, schedules, timetables, resource lists, event tables and more.

Installing

For the latest stable version:

npm install scheduler-library

What's New in version 1.2.1

  • The registerClass method of the Schedule class allows you to register custom types for serialization support. Members of your custom class will be srialized with the schedule. You should override saveToXml, loadFromXml, toJson, fromJson in your custom class.
//register the CustomEvent class
var p = MindFusion.Scheduling;
p.Schedule.registerClass(CustomEvent, "[custom:customEvent]", "customEvent", 1);
  • If you don't register your custom class, but it derives from one of the library classes that support serialization (Item, Task, Resource, Contact etc.), your class will be serialized the way the base class is serialized.
  • Serializing the JS Calendar schedule is now uniform with the serialization in MindFusion .NET and Java Scheduling libraries.
  • The itemDraw event has been added to the Calendar class. It is raised when schedule items are drawn. An instance of ItemEventArgs provides you data about the event and allows you to access the DOM element of the Item that is drawn.

What's New in Version 1.2

Calendar

  • startTime and endTime read-only properties return the time of the first and last visible calendar cells.
  • itemsStartTime and itemsEndTime read-only properties return the time of the first and last calendar cells, that can contain items.
  • getItemCells method returns the calendar view cells that hold the specified item's visual elements.
  • getCellItems method returns the items, whose visual elements are contained in the specified calendar cell.
  • getItemDom method returns the specified item's visual elements.
  • itemsChanged and itemsChanging events are raised whenever the user has changed or tries to change the calendar's schedule collections of items and resources.
  • all item interactions (drag, resize, inplace edit) now raise the itemModifying and itemModified events. The type of interaction is stored in the ItemModifiedEventArgs.action field

Schedule

  • getAllItems method retrieves all events, including recurrent item instances, scheduled to occur in the specified time interval.
  • itemsChanging, itemsChanged events are raised when items are added and removed from the items collection.

BaseForm class

  • calendar and item read-only properties allow access to the underlying calendar and the modified item.

  • element, header, content properties return references to the corresponding DOM elements.

  • controls property returns a dictionary, containing references to all controls present in the form.

Miscellaneous

  • Day headers in month and week views can now be set to fill the whole day cell via the expandDayHeaders property of the corresponding settings class.
  • localization json files.
  • updated themes.

Documentation

  1. Detailed API Reference
  2. Getting started guide and tutorials

Samples

A variety of online samples are uploaded here. You can download the library together with all samples from here.

Additional Information

Learn more about the JavaScript Scheduler from the official product page. Stay in touch with MindFusion about our latest product announcements, tutorials and programming guidelines via Twitter or our company blog. A YouTube channel with interactive video tutorials is available here.

Technical Support

Licensing

The end-user license agreement for JS Scheduler is here.