# dgtek-testimonials

> Component for npm registry

Latest version **0.0.5** (published 2020-09-13) · 0 weekly downloads

## Install

```sh
npm install dgtek-testimonials
pnpm add dgtek-testimonials
yarn add dgtek-testimonials
bun add dgtek-testimonials
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2020-09-13 |
| First published | 2020-09-10 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.3 MB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | garevna |
| Maintainers | garevna |
| Keywords | dgtek, testimonials, component, npm, registry, reviews |

## Links

- npm: https://www.npmjs.com/package/dgtek-testimonials
- Repository: https://github.com/garevna/dgtek-components/tree/testimonials
- npm.io page: https://npm.io/package/dgtek-testimonials

## Dependencies (4)

- [vue](https://npm.io/package/vue.md) ^2.6.11
- [core-js](https://npm.io/package/core-js.md) ^3.6.5
- [vuetify](https://npm.io/package/vuetify.md) ^2.2.11
- [dgtek-styles](https://npm.io/package/dgtek-styles.md) ^0.0.8

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2020-09-13
- 0.0.4 — 2020-09-10
- 0.0.1 — 2020-09-10

## README

# dgtek-testimonials

This component is designed to be utilized in dgtek.net projects only.

It can't be used outside the dgtek.net and landing pages of dgtek.net

____________________________________________

## install component
```
yarn add dgtek-testimonials
```

### Load the component and it's styles

App.vue
```
import 'dgtek-testimonials'
import 'dgtek-testimonials/dist/dgtek-testimonials.css'
```

### Use the component

```
<Testimonials
    :page.sync="page"
    :viewport="viewport"
/>
```

### Example

###### App.vue
```
<template>
  <v-app>
    <v-main>
      <Testimonials
        :page.sync="page"
        :viewport="viewport"
    />
    </v-main>
  </v-app>
</template>

<script>

import 'dgtek-styles'

import Testimonials from '@/components/Testimonials.vue'

export default {
  name: 'App',

  components: {
    Testimonials
  },

  data: () => ({
    page: '#top',
    viewport: {
      width: window.innerWidth,
      height: window.innerHeight
    }
  }),

  methods: {
    onResize () {
      this.viewport.width = window.innerWidth
      this.viewport.height = window.innerHeight
    },
    async getContent () {
      const content = await (await fetch('https://api.pineapple.net.au/content/dgtek-1')).json()
      Object.keys(content).forEach((item) => {
        sessionStorage.setItem(item, JSON.stringify(content[item]))
      })
    }
  },
  created () {
    this.getContent()
  },
  mounted () {
    window.addEventListener('resize', this.onResize, { passive: true })
  }
}
</script>
```

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