Expand description
HTML Form Elements and Scroll State
Handles interactive form inputs (text fields, checkboxes, buttons), link navigation, and scroll state management. All dimensions use pixel coordinates (i32).
Structs§
- Form
Element - A
- Input
Element - An element’s state
- Scroll
State - Viewport scroll state
- Text
Input - Text input buffer with cursor and selection
Enums§
- Form
Method - HTTP method for form submission
- Input
Type - HTML input element types
- Link
Action - Result of clicking on a link
Functions§
- handle_
click_ on_ link - Extract href from a link node and determine navigation action