Socket
Socket
Sign inDemoInstall

mv-components

Package Overview
Dependencies
13
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

mv-components

Flock components for machine vision with vuejs


Version published
Maintainers
1
0

Weekly downloads

Readme

Source

MV Components

A collection of MV Components implemented using Vue

Getting Started

Run the following command using npm:

npm install --save mv-components

Usage

Install MV Components globally in the main.js file.

import 'mv-components'
import 'mv-components/dist/mvComponents.css'

In your components:

<template>
    <MTextHorizontal :data="data" :options="options" />
</template>

<script>
  export default {
    data() {
      return {
        data: [
          {
            id: 1,
            value: 50
          }
        ],
        options: {
          label: 'Standar',
          unit: '%',
          value: 'value',
          filter_by: 'id'
        }
      }
    }
  }
</script>

You can use <DynamicWidget />

<template>
    <DynamicWidget :data="data" :options="options" type="MTextHorizontal" />
</template>

<script>
  export default {
    data() {
      return {
        data: [
          {
            id: 1,
            value: 50
          }
        ],
        options: {
          label: 'Standar',
          unit: '%',
          value: 'value',
          filter_by: 'id'
        }
      }
    }
  }
</script>

Available components:

  • Chart
    • <MPieChart />
  • Text
    • <MTextHorizontal />
    • <MTextVertical />
  • Table
    • <MFreezeTable />

FAQs

Last updated on 06 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc