Hound.Helpers.Orientation
Functions related to orientation
Summary↑
| orientation() | Gets browser’s orientation. Will return either |
| set_orientation(orientation) | Sets browser’s orientation |
Functions
Specs:
- orientation :: :landscape | :portrait
Gets browser’s orientation. Will return either :landscape or :portrait.
Specs:
- set_orientation(:landscape | :portrait) :: :ok
Sets browser’s orientation.
:landscape or :portrait are valid values for the first argument.
set_orientation(:landscape)
set_orientation(:portrait)