( target: ScrollTarget | null, options: ScrollToOptions )
| 52 | } |
| 53 | |
| 54 | export function scrollTargetTo( |
| 55 | target: ScrollTarget | null, |
| 56 | options: ScrollToOptions |
| 57 | ) { |
| 58 | if (target && typeof target.scrollTo === "function") { |
| 59 | target.scrollTo(options); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Whether the container scrolls its own content along this axis |
no outgoing calls
no test coverage detected