@@ -22,7 +22,7 @@ import {SelectionChange, SelectionModel} from '@angular/cdk/collections';
22
22
import { defer , merge , Observable , Subject } from 'rxjs' ;
23
23
import { startWith , switchMap , takeUntil } from 'rxjs/operators' ;
24
24
import { ControlValueAccessor , NG_VALUE_ACCESSOR } from '@angular/forms' ;
25
- import { CdkComboboxPanel } from " @angular/cdk-experimental/combobox" ;
25
+ import { CdkComboboxPanel } from ' @angular/cdk-experimental/combobox' ;
26
26
27
27
let nextId = 0 ;
28
28
let listboxId = 0 ;
@@ -283,7 +283,7 @@ export class CdkListbox<T> implements AfterContentInit, OnDestroy, OnInit, Contr
283
283
ngAfterContentInit ( ) {
284
284
this . _initKeyManager ( ) ;
285
285
this . _initSelectionModel ( ) ;
286
- this . registerWithPanel ( ) ;
286
+ this . _registerWithPanel ( ) ;
287
287
288
288
this . optionSelectionChanges . subscribe ( event => {
289
289
this . _updateSelectionModel ( event . source ) ;
@@ -299,7 +299,7 @@ export class CdkListbox<T> implements AfterContentInit, OnDestroy, OnInit, Contr
299
299
this . _destroyed . complete ( ) ;
300
300
}
301
301
302
- private registerWithPanel ( ) : void {
302
+ private _registerWithPanel ( ) : void {
303
303
if ( this . _parentPanel === null || this . _parentPanel === undefined ) {
304
304
if ( this . _explicitPanel !== null && this . _explicitPanel !== undefined ) {
305
305
this . _explicitPanel . _registerContent ( this . id , 'listbox' ) ;
@@ -391,7 +391,8 @@ export class CdkListbox<T> implements AfterContentInit, OnDestroy, OnInit, Contr
391
391
this . _explicitPanel . closePanel ( data ) ;
392
392
}
393
393
} else {
394
- option . selected ? this . _parentPanel . closePanel ( option . value ) : this . _parentPanel . closePanel ( ) ;
394
+ option . selected ?
395
+ this . _parentPanel . closePanel ( option . value ) : this . _parentPanel . closePanel ( ) ;
395
396
}
396
397
}
397
398
}
0 commit comments