Listen for device orientation changes.
Install with component(1):
$ component install component/orientation-listener
Initialize a new Listener.
Return the orientation type, "landscape" or "portrait".
Unbind listeners.
MIT
Listen for device orientation changes.
Install with component(1):
$ component install component/orientation-listener
Initialize a new Listener.
Return the orientation type, "landscape" or "portrait".
Unbind listeners.
MIT