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
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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