# vue-ios-safe-area

> set iphone bottom safe area

Latest version **1.0.3** (published 2021-01-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install vue-ios-safe-area
pnpm add vue-ios-safe-area
yarn add vue-ios-safe-area
bun add vue-ios-safe-area
```

## 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.0.3 |
| Published | 2021-01-05 |
| First published | 2021-01-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Iris Mei |
| Maintainers | iris_mei |
| Keywords | iphone-safe, safe-ara, safe-bottom, ios-safe, ios-safe-area, vue-ios-safe-area |

## Links

- npm: https://www.npmjs.com/package/vue-ios-safe-area
- npm.io page: https://npm.io/package/vue-ios-safe-area

## Dependencies (1)

- [uglifyjs-webpack-plugin](https://npm.io/package/uglifyjs-webpack-plugin.md) ^2.2.0

## Recent versions

- 1.0.3 (latest) — 2021-01-05
- 1.0.2 — 2021-01-04
- 1.0.1 — 2021-01-04
- 1.0.0 — 2021-01-04
- 0.0.1 — 2021-01-04

## README

# vue-ios-safe-area

## Intro

---

This plugin sets the safe area at the bottom of the ios system.

## Installation

---

```shell
npm install vue-ios-safe-area
```

## Usage

---

```html
<!-- add this code in html head -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover">
```

```javascript
//  main.js    
import iosSafeArea from 'vue-ios-safe-area'
Vue.use(lazyimg, options)
```

```html
<!-- simple -->
<div v-iosSafeArea>
  <!-- content ... -->
</div>

<!-- Set the padding (default) -->
<div v-iosSafeArea:padding>
  <!-- content ... -->
</div>

<!-- Set the margin  -->
<div v-iosSafeArea:margin>
  <!-- content ... -->
</div>

<!-- Set the height. The element must has height. -->
<div v-iosSafeArea:height>
  <!-- content ... -->
</div>

```

At last，If there is any problems in using, please send E-mail to **1428925451@qq.com**, thank you so much！

---
_Source: https://npm.io/package/vue-ios-safe-area · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
