View Source ExOpenAI.Components.ScrollParam (ex_openai.ex v2.0.0-beta2)
A scroll action.
Fields
:keys- optional -[String.t()] | any():scroll_x- required -integer()
The horizontal scroll distance.:scroll_y- required -integer()
The vertical scroll distance.:type- required -:scroll
Specifies the event type. For a scroll action, this property is always set toscroll.
Allowed values:"scroll"
Default:"scroll":x- required -integer()
The x-coordinate where the scroll occurred.:y- required -integer()
The y-coordinate where the scroll occurred.