File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,6 @@ export class CdkTablist {
116116  /** Whether the tablist is disabled. */ 
117117  disabled  =  input ( false ,  { transform : booleanAttribute } ) ; 
118118
119-   /** The ids of the current selected tab. */ 
120-   selectedIds  =  model < string [ ] > ( [ ] ) ; 
121- 
122119  /** The current index that has been navigated to. */ 
123120  activeIndex  =  model < number > ( 0 ) ; 
124121
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface SelectOptions {
2727
2828/** The required inputs for the tablist. */ 
2929export  type  TablistInputs  =  ListNavigationInputs < TabPattern >  & 
30-   Omit < ListSelectionInputs < TabPattern > ,  'multiselectable' >  & 
30+   Omit < ListSelectionInputs < TabPattern > ,  'multiselectable'   |   'selectedIds' >  & 
3131  ListFocusInputs < TabPattern >  &  { 
3232    disabled : Signal < boolean > ; 
3333  } ; 
@@ -113,6 +113,7 @@ export class TablistPattern {
113113      ...inputs , 
114114      navigation : this . navigation , 
115115      multiselectable : signal ( false ) , 
116+       selectedIds : signal < string [ ] > ( [ ] ) , 
116117    } ) ; 
117118    this . focusManager  =  new  ListFocus ( { ...inputs ,  navigation : this . navigation } ) ; 
118119  } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments