---
title: "scroll(byLines:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domelement/scroll(bylines:)"
---

# scroll(byLines:)

## Declaration

```swift
func scroll(byLines lines: Int32)
```
