orientation-listener
v1.0.5
Published
Listen for device orientation changes
Readme
orientation-listener
Listen for device orientation changes.
Installation
Install with component(1):
$ component install component/orientation-listenerExample
API
Listener()
Initialize a new Listener.
Listener.orientation()
Return the orientation type, "landscape" or "portrait".
Listener.unbind()
Unbind listeners.
License
MIT
