vue-use-screen-orientation
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

vue-use-screen-orientation

A Vue composable for detecting screen orientation using media query.

Installation

npm install vue-use-screen-orientation

Usage

<script setup>
import useScreenOrientation from 'vue-use-screen-orientation'

const orientation = useScreenOrientation()
</script>

<template>
  <div>Orientation: {{ orientation }}</div>
</template>

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i vue-use-screen-orientation

Weekly Downloads

8

Version

0.1.0

License

MIT

Unpacked Size

5.71 kB

Total Files

6

Last publish

Collaborators

  • wobsoriano