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

sam-event-schedules

v1.0.4

Published

This library helps to view event schedules in a table datewise.

Downloads

5

Readme

This library helps to view event schedules in a table datewise.

alt text

Dependency: This library is dependent on moment library version 2.29.1

before using this library, install moment from npmjs


Usage : Include in AppModule as follows


import {EventschedulesModule} from 'eventschedules';

@NgModule({

imports: [ EventschedulesModule ....... ]

});


Usage in your project templates as follows


<lib-eventschedules [divWidth]="500px" [divHeight]="200px" [calendarStartDate]="calendarStartDate" [calendarEndDate]="calendarEndDate" [users]="users" [userAppts]="userAppts"


pass the input parameters as per the following pattern


calendarStartDate = moment('1/19/2017', 'MM-DD-YYYY');

calendarEndDate = moment('1/29/2017', 'MM-DD-YYYY');

users: string[] = ['A', 'B', 'C', 'D', 'E', 'F'];

cellColor property added for each event object.

eventName property used to show as tooltip of event name value on mouse hover of the cell.

userAppts: {
user: string; fromDate: moment.Moment; toDate: moment.Moment; eventName: string; cellColor: string;
}[] = [
{
user: 'A', fromDate: moment('1/19/2017', 'MM-DD-YYYY'), toDate: moment('1/23/2017', 'MM-DD-YYYY'), eventName: 'leave scheduled from 20 Jan 2017 to 23 Jan 2017', cellColor: 'blue'
},
{
user: 'B', fromDate: moment('1/22/2017', 'MM-DD-YYYY'), toDate: moment('1/23/2017', 'MM-DD-YYYY'), eventName: 'planned leave from', cellColor: 'red' }
]

/*-------------------- / Latest Updates /-------------------- */

  1. Event Table width and height input parameter included for overflow scroll.

  2. Row Header and First column username freezed when scrolled horizontal and vertical.