Skip to content

useScreenOrientation ​

描述 ​

响应式的 Screen Orientation API。

示例 ​

ts
import { useScreenOrientation } from '@base-web-kits/base-tools-vue';

const { isSupported, orientation, angle } = useScreenOrientation();

来源 ​

VueUse