UNPKG

angular-calendar

Version:

A calendar component that can display events on a month, week or day view

20 lines 1.19 kB
import { Component, Input, Output, EventEmitter } from '@angular/core'; export var CalendarAllDayEventComponent = (function () { function CalendarAllDayEventComponent() { this.eventClicked = new EventEmitter(); } CalendarAllDayEventComponent.decorators = [ { type: Component, args: [{ selector: 'mwl-calendar-all-day-event', template: "\n <div\n class=\"cal-all-day-event\"\n [style.backgroundColor]=\"event.color.secondary\"\n [style.borderColor]=\"event.color.primary\">\n <mwl-calendar-event-title\n [event]=\"event\"\n view=\"day\"\n (click)=\"eventClicked.emit()\">\n </mwl-calendar-event-title>\n <mwl-calendar-event-actions [event]=\"event\"></mwl-calendar-event-actions>\n </div>\n " },] }, ]; /** @nocollapse */ CalendarAllDayEventComponent.ctorParameters = function () { return []; }; CalendarAllDayEventComponent.propDecorators = { 'event': [{ type: Input },], 'eventClicked': [{ type: Output },], }; return CalendarAllDayEventComponent; }()); //# sourceMappingURL=calendarAllDayEvent.component.js.map