Module: ContextDev::Models::WebWebScrapeHTMLParams::Action::Scroll::Amount
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/context_dev/models/web_web_scrape_html_params.rb,
sig/context_dev/models/web_web_scrape_html_params.rbs
Overview
Pixels per scroll, one visible viewport, or the current scroll boundary. Defaults to viewport.
collapse
- VIEWPORT =
:viewport- MAX =
:max
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(Integer, Symbol)
278 279 280 |
# File 'lib/context_dev/models/web_web_scrape_html_params.rb', line 278 define_sorbet_constant!(:Variants) do T.type_alias { T.any(Integer, ContextDev::WebWebScrapeHTMLParams::Action::Scroll::Amount::TaggedSymbol) } end |
Instance Method Details
#self?.variants ⇒ ::Array[ContextDev::Models::WebWebScrapeHTMLParams::Action::Scroll::amount]
204 |
# File 'sig/context_dev/models/web_web_scrape_html_params.rbs', line 204
def self?.variants: -> ::Array[ContextDev::Models::WebWebScrapeHTMLParams::Action::Scroll::amount]
|