ngAfterViewInit method

  1. @override
void ngAfterViewInit()

Implementation

@override
void ngAfterViewInit() {
  //if (_isCalendarCreated != null) return;

  // Give the browser a chance to do other work before creating the
  // calendar component (for a snappier UX)
  _domService.nextFrame!.then((_) {
    _ngZone.run(() {
      //if (_isCalendarCreated != null) return;
      _isCalendarCreated = true;
    });
  });
}