Class: Cline::GlobalState::Browser::BrowserSettings::BrowserViewport
- Inherits:
-
Schema
- Object
- Shale::Mapper
- Schema
- Cline::GlobalState::Browser::BrowserSettings::BrowserViewport
- Defined in:
- lib/cline/global_state/browser.rb
Overview
Browser viewport settings
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#height ⇒ Integer
Viewport height.
-
#width ⇒ Integer
Viewport width.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#height ⇒ Integer
Returns Viewport height.
17 |
# File 'lib/cline/global_state/browser.rb', line 17 attribute :height, :integer |
#width ⇒ Integer
Returns Viewport width.
14 |
# File 'lib/cline/global_state/browser.rb', line 14 attribute :width, :integer |