Skip to content

Commit 67f9de8

Browse files
committed
document offset of overflow
1 parent acad148 commit 67f9de8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/templates/elements/overflow.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,7 @@ This is analogous to `Overflow::scroll(Direction::Backward, n)`.
157157
### `scroll_to(pos: Pos)`
158158

159159
Scroll the `overflow` to a given position.
160+
161+
### `offset()`
162+
163+
Get the current `offset` of the `overflow`.

0 commit comments

Comments
 (0)