OpenAI::Scroll
Inherits JSON::Serializable < Reference < Object
A scroll action.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ScrollType = ScrollType::Scroll, x : Int64 = 0, y : Int64 = 0, scroll_x : Int64 = 0, scroll_y : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value
Specifies the event type. For a scroll action, this property is
always set to scroll.
type_value=(type_value : ScrollType)
Specifies the event type. For a scroll action, this property is
always set to scroll.