dayRender not working like resourceRender
See original GitHub issueIm using @fullcalendar/angular and ‘@fullcalendar/core’. And dayRender is not working for me. it doesnt matter if I console.log(event) or try to manipulate te object by giving it a new backgroundcolor. eventClick, datesRender and resourcerender ARE working like I would expect dayRender to work.
<full-calendar
.......
[events]="events"
`(eventClick)="eventClick($event)"`
(datesRender)="datesRender($event)"
(dayRender)="dayRender($event)"
(resourceRender)="resourceRender($event)"
>
</full-calendar>
dayRender(model: any) {
model.el.style.backgroundColor = 'blue';
console.log(model);
}
resourceRender(model: any) {
model.el.style.backgroundColor = 'blue';
console.log(model);
}
I’m using the resourceTimelinePlugin
plugins: [bootstrap, resourceTimelinePlugin, interactionPlugin]
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
dayRender stops working when Fullcalendar is using view
If I use the view timeGridWeek it works just fine. I will leave here the json options I'm working with, but what I'd...
Read more >resourceRender - Docs v4 - FullCalendar
A hook for manipulating a resource's DOM. function( renderInfo ). The renderInfo argument is an object with the following properties: resource. The Resource ......
Read more >@fullcalendar/resource-common | Yarn - Package Manager
FullCalendar Scheduler. A premium add-on to FullCalendar for displaying events and resources. Project website and demos · License · Changelog · Contributing ...
Read more >ng-fullcalendar-scheduler - npm package - Snyk
Looks like ng-fullcalendar-scheduler is missing a security policy. ... Snyk to stay up to date on security alerts and receive automatic fix pull...
Read more >UNPKG - @fullcalendar/vue
5, - no longer expose component as 'fullcalendar' when used globally ... 12, [core-5822]: https://github.com/fullcalendar/fullcalendar/issues/5822.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try this: dayCellContent : { html: ‘Your Text’ },
This helps to add html like dayrender.
THANKS
ngAfterViewInit(){ // Your CSS as text var styles =
.fc td, .fc th { vertical-align: top; padding: 0; height: 100px; } a{ color:#3d1cba; }
}