@ntersol/calendar
v0.0.16
Published
@ntersol/calendar / [Exports](modules.md)
Downloads
2
Keywords
Readme
@ntersol/calendar / Exports
@ntersol/calendar / Exports
@ntersol/calendar / Exports
@ntersol/calendar / Exports / CalendarComponent
Class: CalendarComponent
An Outlook style calendar based on @fullCalendar
Implements
- OnInit
- OnChanges
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new CalendarComponent(): CalendarComponent
Returns: CalendarComponent
Defined in: calendar.component.ts:48
Properties
calendarPlugins
• calendarPlugins: PluginDef[]
Defined in: calendar.component.ts:45
dateClick
• dateClick: EventEmitter<DateClick>
Defined in: calendar.component.ts:42
defaultView
• defaultView: DefaultView= 'dayGridMonth'
Defined in: calendar.component.ts:31
eventClick
• eventClick: EventEmitter<EventClick>
Defined in: calendar.component.ts:43
events
• events: Event[]
Defined in: calendar.component.ts:32
fc
• Optional
fc: FullCalendar
Defined in: calendar.component.ts:48
header
• header: any
https://fullcalendar.io/docs/header
Defined in: calendar.component.ts:36
height
• height: undefined | number
Defined in: calendar.component.ts:34
maxTime
• maxTime: undefined | string
A string with the END time for the timegrid view, IE "07:00:00"
Defined in: calendar.component.ts:40
minTime
• minTime: undefined | string
A string with the START time for the timegrid view, IE "07:00:00"
Defined in: calendar.component.ts:38
selectable
• selectable: boolean= false
Defined in: calendar.component.ts:33
visible$
• visible$: BehaviorSubject<boolean>
Defined in: calendar.component.ts:46
Methods
changeViewType
▸ changeViewType(defaultView
: DefaultView): void
Change the type of view full calendar is displaying Full calendar does not support this natively so reinstantiating the component is necessary
Parameters:
| Name | Type |
| :------------ | :---------- |
| defaultView
| DefaultView |
Returns: void
Defined in: calendar.component.ts:75
handleEventClick
▸ handleEventClick(event
: any): void
Parameters:
| Name | Type |
| :------ | :---- |
| event
| any |
Returns: void
Defined in: calendar.component.ts:67
ngOnChanges
▸ ngOnChanges(model
: SimpleChanges): void
Parameters:
| Name | Type |
| :------ | :------------ |
| model
| SimpleChanges |
Returns: void
Implementation of: void
Defined in: calendar.component.ts:54
ngOnInit
▸ ngOnInit(): void
Returns: void
Implementation of: void
Defined in: calendar.component.ts:52
select
▸ select(select
: any): void
Parameters:
| Name | Type |
| :------- | :---- |
| select
| any |
Returns: void
Defined in: calendar.component.ts:63