Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ektx/v5-strip

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ektx/v5-strip

用于展示多个数据之前的百分比。

  • 0.0.4-alpha.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

V5Strip

用于展示多个数据之前的百分比。

Demo

使用方法

HTML

<V5Strip :data="data1"></V5Strip>

JS

{
    data1: {
        title: {
            label: '标题',
            value: 11000
        },
        subTitle: {
            label: '副标题',
            value: 1000
        },
        list: [
            {
                label: 'iPhone',
                value: 7000
            }, 
            {
                label: 'iPad',
                value: 1000
            },
            {
                label: 'iMac',
                value: 1000
            },
            {
                label: 'iMac Pro',
                value: 1000
            },
            {
                label: 'MacBook',
                value: 1000
            }
        ]
    },
    colors: ['#f90', '#09f', 'yellowgreen', 'red', 'yellow']
}

Props

属性类型说明默认值
dataObject传入的数据-
colorsArray颜色数组
hideMarkerboolean是否隐藏标签内容false
evtfunction自定义功能-

Keywords

FAQs

Package last updated on 28 Sep 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc