interface
bun.WebView.ScrollToOptions
interface ScrollToOptions
- block?: 'end' | 'center' | 'start' | 'nearest'
Vertical alignment.
"nearest"scrolls minimally (no-op if already in view);"center"snaps the element's center to the viewport center.
interface
Vertical alignment. "nearest" scrolls minimally (no-op if already in view); "center" snaps the element's center to the viewport center.