headerPanel property

  1. @ViewChild('headerPanel')
set headerPanel (HtmlElement? headerPanel)

Implementation

@ViewChild('headerPanel')
set headerPanel(HtmlElement? headerPanel) {
  _headerPanel = headerPanel;
  if (_headerPanel != null) {
    _ngZone.runOutsideAngular(() {
      _disposer.addStreamSubscription(_headerPanel!.onTransitionEnd
          .where((e) => e.eventPhase == Event.AT_TARGET)
          .listen((_) {
        // Clear height override so it will match the active child's height.
        _headerPanel?.style.height = '';
      }));
    });
  }
}