@imanro/angular-calendar-week-hours-view
TypeScript icon, indicating that this package has built-in type declarations

1.0.3200 • Public • Published

AngularCalendarWeekHoursView

This project aims to provide an alternative view to those already provided on Angular Calendar.

It probably won't receive much support from me (@diegofsza), so you're encouraged to enhance it in any reasonable way and send pull requests.

How it looks

Imgur

Usage

Import the module wherever you want to use the view:

@NgModule({
    declarations: [
        ...
    ],
    imports: [
        ...,
        CalendarModule.forRoot(),
        CalendarWeekHoursViewModule,
        ...
    ],   
})

Use the view in your html

<iq-calendar-week-hours-view
            *ngSwitchCase="'week'"
            [viewDate]="viewDate"
            [events]="events"
            [hourSegments]="2"
            [dayStartHour]="8"
            [dayEndHour]="20"
            (eventClicked)="eventClicked($event)"
            (hourSegmentClicked)="hourSegmentClicked($event)"
            (eventTimesChanged)="eventTimesChanged($event)"
            [refresh]="refresh">
        </iq-calendar-week-hours-view>

You should also include the scss file in your styles array in the .angular-cli.json file

"../node_modules/angular-calendar-week-hours-view/angular-calendar-week-hours-view.scss"

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.32001latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.32001
1.0.31990
1.0.31980
1.0.31970
1.0.31960
1.0.31950
1.0.31940
1.0.31930
1.0.31920
1.0.31910
1.0.31890
1.0.31880
1.0.31870
1.0.31860
1.0.31850
1.0.31840
1.0.31830
1.0.31820
1.0.31810
1.0.31800
1.0.3170
1.0.3160
1.0.3150
1.0.3140
1.0.3130
1.0.3120
1.0.3110
1.0.3100
1.0.310
1.0.30

Package Sidebar

Install

npm i @imanro/angular-calendar-week-hours-view

Weekly Downloads

1

Version

1.0.3200

License

MIT

Unpacked Size

565 kB

Total Files

23

Last publish

Collaborators

  • imanro