# @and-xx/axis

> 获取窗口大小,元素大小和位置,鼠标坐标..

Latest version **1.1.3** (published 2019-05-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @and-xx/axis
pnpm add @and-xx/axis
yarn add @and-xx/axis
bun add @and-xx/axis
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2019-05-27 |
| First published | 2019-05-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zl |
| Maintainers | andxx |

## Links

- npm: https://www.npmjs.com/package/@and-xx/axis
- npm.io page: https://npm.io/package/@and-xx/axis

## Recent versions

- 1.1.3 (latest) — 2019-05-27
- 1.1.2 — 2019-05-23
- 1.1.1 — 2019-05-06
- 1.1.0 — 2019-05-06
- 1.0.9 — 2019-05-06
- 1.0.8 — 2019-05-06
- 1.0.7 — 2019-05-06
- 1.0.6 — 2019-05-05
- 1.0.5 — 2019-05-05
- 1.0.4 — 2019-05-05
- 1.0.3 — 2019-05-05
- 1.0.2 — 2019-05-05
- 1.0.1 — 2019-05-05
- 1.0.0 — 2019-05-05

## README

## 安装
```
npm install @and-xx/axis
```
### 引入
```
import { axis } from "@and-xx/axis";
```
### 功能
> *窗口大小
> *元素大小
> *元素起点位置
> *鼠标在窗口的位置
> *鼠标在父级的位置
> *鼠标在上级的位置
### api
> axis()  返回一个对象,集合了你需要的数字

```
  data() {
    return {
      axis: {}
    };
  },
  methods: {
    test() {
      this.axis = axis();
    }
  },
```

---
_Source: https://npm.io/package/@and-xx/axis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
