(index: number)
| 16 | } |
| 17 | |
| 18 | export function scrollToSnippetIndex(index: number) { |
| 19 | if (index < 0) |
| 20 | return |
| 21 | |
| 22 | if (snippetScrollerRef.value) { |
| 23 | snippetScrollerRef.value.scrollToItem(index) |
| 24 | return |
| 25 | } |
| 26 | |
| 27 | pendingScrollIndex.value = index |
| 28 | } |
no outgoing calls
no test coverage detected