Weekly calendar navigation in angular 8

48
October 22, 2019, at 5:40 PM

I'm new to angular and I have to make calendar weekly in a horizontal list view. When loading the page current week should display and it will call API and display the task details. When we click on the previous week or next week, it will call another Api and it will display the last week/next week task details respectively. I am currently using the full calendar for achieving this.How can i get the current week and how can I call the API to display the data? When i change this the week, how can i change the corresponding task details? I have attached a screenshot that should show what I'm going to do. Anyone can help me out this situation.

ngOnInit() {
  setTimeout(()=> {
    $("#calendar").fullCalendar( {
      header: {
        center: 'month,week' // buttons for switching between views
          }
      , views: {
        week: {
          type: 'agenda', duration: {
            days: 7
              }
          , buttonText: 'week'
            }
      }
    }
    , 100);
 }

I have referred the below link for the fullCalendar installation in angular https://therichpost.com/how-to-implement-fullcalendar-in-angular-8/

Thanks, Sara.

READ ALSO
How to update sharepoint list item with selected options from mcq form

How to update sharepoint list item with selected options from mcq form

I have a mcq form developed using html and jqueryThe form is deployed in a sharepoint sitepage

20
GET request from 2 APIs in one function (JQuery)

GET request from 2 APIs in one function (JQuery)

I'm trying to build a page based on CoinGecko APIsI was asked to make two different GET request using JQuery, one without parameter, and one with id parameter, but I can't write everything correctly with the second API

30
How do I get Jest to recognise JQuery in my Rails project?

How do I get Jest to recognise JQuery in my Rails project?

I'm working on an originally-Rails-4-now-upgraded-to-51

37
Displaying image loading process as % on page load

Displaying image loading process as % on page load

I am trying to make loading screenSo i use jQuery for that

37