ngOnInit method

  1. @override
void ngOnInit()

Executed after the first change detection run for a directive.

See OnInit for a full description.

Implementation

@override
ngOnInit() {
  _isInitialized = true;
  scheduleMicrotask(() {
    if (inputText.isEmpty && _lastSelectedItem != null) {
      _setInputText(_renderWithItemRender(_lastSelectedItem));
    }
  });
}