From 781690e462ecf8de54e595d8c2c6e17327ceac44 Mon Sep 17 00:00:00 2001 From: NoryiE Date: Sat, 22 Feb 2025 10:26:51 +0000 Subject: [PATCH] deploy: 3d7c7aa02a6be7a0b9819d77d0ae887e9c33c3bf --- docs/references/elements/List.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/references/elements/List.md b/docs/references/elements/List.md index 6b05a06..34b3883 100644 --- a/docs/references/elements/List.md +++ b/docs/references/elements/List.md @@ -33,6 +33,8 @@ custom item rendering, separators, and selection handling. |[List:onSelect](#List:onSelect)|List|Registers a callback for the select event |[List:removeItem](#List:removeItem)|List|Removes an item from the list |[List:render](#List:render)|-|Renders the list +|[List:scrollToBottom](#List:scrollToBottom)|List|Scrolls the list to the bottom +|[List:scrollToTop](#List:scrollToTop)|List|Scrolls the list to the top ## List.new() Creates a new List instance @@ -145,4 +147,16 @@ list:removeItem(1) ## List:render() Renders the list +## List:scrollToBottom() +Scrolls the list to the bottom + +### Returns +* `List` `self` The List instance + +## List:scrollToTop() +Scrolls the list to the top + +### Returns +* `List` `self` The List instance +