File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,10 +198,4 @@ export class ToolbarPattern<V> {
198198 this . inputs . activeItem . set ( firstItem ) ;
199199 }
200200 }
201-
202- /** Validates the state of the toolbar and returns a list of accessibility violations. */
203- validate ( ) : string [ ] {
204- const violations : string [ ] = [ ] ;
205- return violations ;
206- }
207201}
Original file line number Diff line number Diff line change @@ -109,15 +109,6 @@ export class Toolbar<V> {
109109 private _hasBeenFocused = signal ( false ) ;
110110
111111 constructor ( ) {
112- afterRenderEffect ( ( ) => {
113- if ( typeof ngDevMode === 'undefined' || ngDevMode ) {
114- const violations = this . _pattern . validate ( ) ;
115- for ( const violation of violations ) {
116- console . error ( violation ) ;
117- }
118- }
119- } ) ;
120-
121112 afterRenderEffect ( ( ) => {
122113 if ( ! this . _hasBeenFocused ( ) ) {
123114 this . _pattern . setDefaultState ( ) ;
You can’t perform that action at this time.
0 commit comments