Callback when a view's type or dates change (viewChange?)
See original GitHub issueThe viewRender callback is called every time a view’s DOM is rendered/rerendered. It gets fired on a view’s initial render, but it also gets fired when a dynamic options change occurs that requires a view rerender. Or potentially for other reasons.
However, there is no callback that gets fired exclusively when there is a view-switch or the date-range change.
A common usecase: want to do post-processing on the DOM of the fc-title
element at the top of the calendar, which is dependent on the date range but independent of the view.
Potential names for this callback: viewChange
?
Question: what if the view’s type changes (ex: agenda->basic), but the date range does not. should it still fire?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:26
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Callback before calendar view is changed - Stack Overflow
Triggered when a new date-range is rendered, or when the view type switches. function( view, element ) view is the View Object for...
Read more >changeView - Docs v3 - FullCalendar
If you are using Custom View, you can change the visibleRange in the same way: $('#calendar').fullCalendar('changeView' ...
Read more >Angular Change Detection - How Does It Really Work?
Change detection works by detecting common browser events like mouse clicks, HTTP requests, and other types of events, and deciding if the view...
Read more >Map Class - Bing Maps - Microsoft Learn
This method takes in callback function and passes a session ID to it which can ... viewchange, Occurs for every frame of a...
Read more >Client Side Active View Change - ASP.NET AJAX ... - Demos
To perform this, the code uses the ASPxScheduler client-side API. When a view type is selected in the drop-down list, the SetActiveViewType client-side...
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
In the v5 release candidate this is called datesSet
datesSet callback is not working in my case.