Returns the panel's scrollTop.
()
| 289 | |
| 290 | /** Returns the panel's scrollTop. */ |
| 291 | _getScrollTop(): number { |
| 292 | return this.panel ? this.panel.nativeElement.scrollTop : 0; |
| 293 | } |
| 294 | |
| 295 | /** Panel should hide itself when the option list is empty. */ |
| 296 | _setVisibility() { |