Skip to content

getWindowHeight

获取屏幕高度(单位:px)

示例

ts
import { getWindowHeight } from '@base-web-kits/base-tools-uni';

const windowHeight = getWindowHeight();
console.log('windowHeight:', windowHeight);

版本

  • 1.0.0 新增