- , Native::Wrapper
- Defined in:
The mobile web contains two viewports, the Layout and Visual viewport. The Layout viewport is what a page lays out its elements into and the Visual viewport is what is actually visible on the screen. When the user pinch-zooms into the page, the visual viewport shrinks but the layout viewport is unchanged. UI like the on-screen keyboard (OSK) can also shrink the visual viewport without affecting the layout viewport.
Instance Attribute Summary collapse
#native ⇒ Object
Returns the value of attribute native.
Methods included from
, , , , ,
Instance Attribute Details
Returns the value of attribute native
26 27 28
# File 'opal/browser/visual_viewport.rb', line 26 def native @native end