/angular-scheduler-prevent-infinite-loop-on-workdays-property-binding

This repository contains project for preventing the infinite loop when binding the workDays property as method.

Primary LanguageTypeScript

Syncfusion Angular 8 Scheduler Project

A project that helps you to avoid infinte loop on applying method in workDays property binding with code snippet.

Scheduler features covered in this Project

This is an Angular 8 project created using Angular CLI 8.3.20. The Scheduler features included in this project are as follows.

  • Angular 8 Scheduler displaying basic views with appointments loaded as Object.
  • Setting workDays through method

How to run this application?

To run this application, you need to first clone the how-to-prevent-infinite-loop-on-workDays-property-binding repository and then navigate to its appropriate path where it has been located in your system.

To do so, open the command prompt and run the below commands one after the other.

git clone https://github.com/SyncfusionExamples/how-to-prevent-infinite-loop-on-workdays-property-binding angular-8-scheduler
cd angular-8-scheduler

Installing

Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install command will install all the needed angular packages into your current project and to do so, run the below command.

npm install

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.