| 31 | }, |
| 32 | }) |
| 33 | export class CarouselItem implements FocusableOption { |
| 34 | readonly element = inject<ElementRef<HTMLElement>>(ElementRef); |
| 35 | |
| 36 | tabindex = '-1'; |
| 37 | |
| 38 | focus(): void { |
| 39 | this.element.nativeElement.focus({preventScroll: true}); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | @Component({ |
| 44 | selector: 'app-carousel', |
nothing calls this directly
no outgoing calls
no test coverage detected