# @kuroski/v-eager

> A directive that emits input events despite the default keyboard on Android, GBoard, does composing by default

Latest version **1.0.1** (published 2020-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kuroski/v-eager
pnpm add @kuroski/v-eager
yarn add @kuroski/v-eager
bun add @kuroski/v-eager
```

## 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.1 |
| Published | 2020-04-26 |
| First published | 2020-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 27.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Daniel Kuroski |
| Maintainers | kuroski |
| Keywords | vue |

## Links

- npm: https://www.npmjs.com/package/@kuroski/v-eager
- Repository: https://github.com/kuroski/v-eager
- Homepage: https://github.com/kuroski/v-eager#readme
- Issues: https://github.com/kuroski/v-eager/issues
- npm.io page: https://npm.io/package/@kuroski/v-eager

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^2.6.11
- [core-js](https://npm.io/package/core-js.md) ^3.6.4

## Recent versions

- 1.0.1 (latest) — 2020-04-26
- 1.0.0 — 2020-04-26

## README

# v-eager

Since the default keyboard on Android, GBoard, does composing by default, this directive will always emit the `input` event even if you are just autocompleting.

This is just a workaround, more information about this problem:
- https://github.com/vuejs/vue/issues/9299
- https://github.com/vuejs/vue/issues/9777

So let's hope this PR (https://github.com/vuejs/vue/pull/9814) will be merged sometime =/

## Project setup
```
npm i -d @kuroski/v-eager
```

```
yarn add @kuroski/v-eager
```

### Global

```
import VEager from '@kuroski/v-eager'
Vue.use(VEager)
```

### Local

```
import {eager} from '@kuroski/v-eager'
export default {
  directives: {eager}
}
```

## Usage

Just add the directive `v-eager` in the desired input:

``` vue
<template>
<v-text-field
    id="name"
    name="name"
    v-model="name"
    v-eager
    label="Nome*"
    required
></v-text-field>
</template>
```

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