Hound.Helpers.Orientation

Functions related to orientation

Summary

Functions

Gets browser’s orientation. Will return either :landscape or :portrait

Sets browser’s orientation

Functions

orientation()

Specs

orientation :: :landscape | :portrait

Gets browser’s orientation. Will return either :landscape or :portrait.

set_orientation(orientation)

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)