jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
22 lines (18 loc) • 542 B
text/typescript
import { Component, OnInit } from '@angular/core';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements OnInit {
restrictedDates: Date[] = new Array();
ngOnInit(): void {
let date = new Date();
date.setHours(0, 0, 0);
date.setDate(2);
let date2 = new Date();
date2.setHours(0, 0, 0);
date2.setDate(3);
this.restrictedDates.push(date);
this.restrictedDates.push(date2);
}
}