I am currently utilizing the angular-calendar plugin, and in order to achieve the Year-View functionality that I need, I have integrated:
https://www.npmjs.com/package/angular-calendar-year-view
Everything seems to be functioning well, except for an annoying spinner that I can't seem to disable. Is there anyone who knows how to modify the code to remove the spinner?
<angular-calendar-year-view
*ngSwitchCase="'day'"
nothingToshowText="No ToDo's scheduled for this day"
mwlCalendarNextView
[events]="events"
[viewDate]="viewDate"
themecolor="black"
(eventClicked)="goToEvent($event.event.id)">
</angular-calendar-year-view>
This is how I set it up. My current workaround involves setting the "spinner" boolean in the dependency to false, but I know this is not ideal.
I have also attempted something like
AngularCalendarYearViewComponent.prototype.spinner = false;
AngularCalendarYearViewComponent.prototype.loader = false;
in the typescript file, however, it does not seem to work...
Please assist me with resolving this issue.
import { DomSanitizer } from '@angular/platform-browser';
// more script content...
This represents the necessary dependency for this implementation.