# vue-style-details

> > a beautify details

Latest version **1.0.1** (published 2021-02-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install vue-style-details
pnpm add vue-style-details
yarn add vue-style-details
bun add vue-style-details
```

## 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 | 2021-02-20 |
| First published | 2021-02-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 55.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zhongxingdou |
| Maintainers | zhongxingdou |

## Links

- npm: https://www.npmjs.com/package/vue-style-details
- npm.io page: https://npm.io/package/vue-style-details

## Recent versions

- 1.0.1 (latest) — 2021-02-20

## README

# `vue-style-details`

> a beautify details

## Source Code

```html
<template>
  <details>
    <summary :style="headerStyle || {}">{{ header }}</summary>
    <slot></slot>
  </details>
</template>

<script>
export default {
  props: {
    header: String,
    headerStyle: Object,
  },
}
</script>

<style lang="scss" scoped>
details {
  margin-top: 10px;
}
summary {
  text-align: center;
  background: rgb(238 238 238 / 60%);
  padding: 5px;
  color: #606266;
  cursor: default;
  font-size: 14px;
  margin-bottom: 10px;
  user-select: none;
  &:hover {
    background: rgb(238 238 238 / 90%);
  }
  &:focus {
    outline: none;
  }
}
</style>
```

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