# vue-quick-notes

> Quickly take notes in your admin panel/dashboard or websites.

Latest version **0.1.3** (published 2022-04-28) · 0 weekly downloads

## Install

```sh
npm install vue-quick-notes
pnpm add vue-quick-notes
yarn add vue-quick-notes
bun add vue-quick-notes
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2022-04-28 |
| First published | 2022-04-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 44.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Fazail Alam |
| Maintainers | mfazail |
| Keywords | vue-quick-notes, vue quick notes, Vue, Vue component, vue sticky notes |

## Links

- npm: https://www.npmjs.com/package/vue-quick-notes
- Repository: https://github.com/mfazail/vue-quick-notes
- Homepage: https://mfazail.github.io/vue-quick-notes/
- Issues: https://github.com/mfazail/vue-quick-notes/issues
- npm.io page: https://npm.io/package/vue-quick-notes

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^3.2.25
- [@vueuse/core](https://npm.io/package/@vueuse/core.md) ^8.3.1

## Recent versions

- 0.1.3 (latest) — 2022-04-28
- 0.1.2 — 2022-04-27
- 0.1.1 — 2022-04-27
- 0.1.0 — 2022-04-27

## README

<h1 align="center">Vue Quick Notes</h1>
<p align="center">Quickly take notes in your admin panel/dashboard or websites.</p>

<p align="center">
  <img width="300px" src="https://raw.githubusercontent.com/mfazail/vue-quick-notes/main/light.png" />
  <img width="300px" src="https://raw.githubusercontent.com/mfazail/vue-quick-notes/main/dark.png" />
</p>

## Installation

### npm

Use npm to install.

```bash
npm i vue-quick-notes
```

## Usage

```js
import { VueQuickNotes } from "vue-quick-notes";

// style import is needed to work propperly
import "vue-quick-notes/dist/style.css";
```

```html
<VueQuickNotes label="Quick notes" v-model="text" />
```

## Composable

```js
// Get the value of the text in any component
import { useQuickNotes } from "vue-quick-notes";

let { text, open } = useQuickNotes();

console.log(text.value);

console.log(open.value); // Use this value to show or hide quick-note
```

### Use `ctrl+alt+k` to show quick note

## Props

| Name         | Type   | Default            | Detail                      |
| ------------ | ------ | ------------------ | --------------------------- |
| x            | number | screenWidth - 350  | Initial x position of div   |
| y            | number | screenHeight - 250 | Initial y position of div   |
| label        | string | null               | Label for textarea          |
| z-index      | string | 20                 | z index of div              |
| lang         | string | en-US              | Speech recognition language |
| parent-class | string | null               | class of div                |
| button-class | string | null               | class of mic button         |

Any other **attributes** will be passed to textarea

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