Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

stackoverflow ngbdate angular

import {NgbCalendar, NgbDate} from "@ng-bootstrap/ng-bootstrap";
fromDate: NgbDate;
toDate: NgbDate;
constructor(calendar: NgbCalendar) {
    this.fromDate = calendar.getToday();
    this.toDate = calendar.getNext(calendar.getToday(), 'd', 10);
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stackoverflow #ngbdate #angular
ADD COMMENT
Topic
Name
8+5 =