# vuejs-thermometer

> Thermometer for Vue.js

Latest version **0.1.3** (published 2020-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install vuejs-thermometer
pnpm add vuejs-thermometer
yarn add vuejs-thermometer
bun add vuejs-thermometer
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2020-11-01 |
| First published | 2018-12-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | LMH, lars@softwarefun.no , softwarefun.no |
| Maintainers | larsmars |
| Keywords | vue, components, temperature, thermometer, svg |

## Links

- npm: https://www.npmjs.com/package/vuejs-thermometer
- Homepage: https://softwarefun.no
- npm.io page: https://npm.io/package/vuejs-thermometer

## Recent versions

- 0.1.3 (latest) — 2020-11-01
- 0.1.2 — 2019-12-24
- 0.1.1 — 2019-07-18
- 0.1.0 — 2019-07-18
- 0.0.7 — 2019-07-17
- 0.0.6 — 2019-07-17
- 0.0.5 — 2019-07-17
- 0.0.4 — 2018-12-28
- 0.0.3 — 2018-12-27
- 0.0.2 — 2018-12-27
- 0.0.1 — 2018-12-25

## README

# vuejs-thermometer
Thermometer component for vue.js <br>
v0.1.3

<img src="https://img.shields.io/badge/license-MIT-green.svg" /> <img src="https://img.shields.io/badge/dependencies-0-brightgreen.svg" /> <img src="https://img.shields.io/badge/bugs-0-red.svg" />

[Live demo](http://softwarefun.no/#/thermometer)
<br>

<img src="http://softwarefun.no/demo_temp.png" height="300">

Do you have questions or want a new feature? Use the "Issues" section :point_left:

## Setup
Install:
```bash
  npm install vuejs-thermometer --save
```

Import:
```javascript
import VueThermometer from 'vuejs-thermometer'
Vue.use(VueThermometer)
```
## Usage
Use: (in your local .vue file/component, html section)

```xml
    <vue-thermometer
      :value="5"
      :min="-20"
      :max="25"
    />

<!-- Options struct: -->
options: {
  text: {
    color: 'black',
    fontSize: 10,
    textAdjustmentY: 2,
    fontFamily: 'Arial',
    textEnabled: true
  },
  thermo: {
    color: '#FF0000',
    backgroundColor: '#fcf9f9',
    frameColor: 'black',
    ticks: 10,
    ticksEnabled: true,
    tickColor: 'black',
    tickWidth: '1'
  },
  layout: {
    height: 300,
    width: 90
  }
}
```

### Properties

| Name            | Type             | Default      | Description            |
| ---             | ---              | ---          | ---                    |
| value           | Number           | 0            | Value of temp |
| min             | Number           | -20          | Min value|
| max             | Number           | 25           | Max value |
| scale           | String           | °C           | Scale format |
| options         | Object           | Object       | Object struct |
| customClass     | String           | N/A          | Custom css class |

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