1.0.5 • Published 10 years ago

orientation-listener v1.0.5

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

orientation-listener

Listen for device orientation changes.

Installation

Install with component(1):

$ component install component/orientation-listener

Example

API

Listener()

Initialize a new Listener.

Listener.orientation()

Return the orientation type, "landscape" or "portrait".

Listener.unbind()

Unbind listeners.

License

MIT

1.0.5

10 years ago

1.0.4

12 years ago

1.0.3

12 years ago

1.0.2

12 years ago

1.0.1

12 years ago

1.0.0

12 years ago