# oe-info

> A element used to display formatted values of numeric, string and date type

Latest version **2.3.0** (published 2020-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install oe-info
pnpm add oe-info
yarn add oe-info
bun add oe-info
```

## 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 | 2.3.0 |
| Published | 2020-10-07 |
| First published | 2019-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 83.2 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | vamsee147 |

## Links

- npm: https://www.npmjs.com/package/oe-info
- Repository: https://github.com/EdgeVerve/oe-info
- Homepage: https://github.com/EdgeVerve/oe-info#readme
- Issues: https://github.com/EdgeVerve/oe-info/issues
- npm.io page: https://npm.io/package/oe-info

## Dependencies (6)

- [moment](https://npm.io/package/moment.md) 2.24.0
- [oe-utils](https://npm.io/package/oe-utils.md) ^2.0.0
- [oe-mixins](https://npm.io/package/oe-mixins.md) ^2.0.0
- [oe-i18n-msg](https://npm.io/package/oe-i18n-msg.md) ^2.0.0
- [@polymer/polymer](https://npm.io/package/@polymer/polymer.md) ^3.1.0
- [@polymer/paper-checkbox](https://npm.io/package/@polymer/paper-checkbox.md) ^3.1.0

## Recent versions

- 2.3.0 (latest) — 2020-10-07
- 2.2.0 — 2020-05-04
- 2.1.0 — 2020-01-02
- 2.0.0 — 2019-03-13

## README

# \<oe-info\>

`<oe-info>` is used to display formatted values of numeric, string and date type.

## Date
Import moment.js in document level to support 'format' options for date and timestamp type.

### Styling

`<oe-info>` provides the following custom properties and mixins for styling:

Custom property | Description | Default
----------------|-------------|----------
`--oe-info-label` | Mixin applied to label section | {}
`--oe-info-value` | Mixin applied to value section | {}

```html
  <oe-info label="Balance" type="number" precision=2 value="3423434.34324"></oe-info>

  <oe-info label="Balance" format="Account Balance is @v" value="3423434.34324"></oe-info>

  <oe-info format="The name is $[name]" value='{"name":"Bond"}'></oe-info>
```

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