Socket
Book a DemoInstallSign in
Socket

v-tag-picker

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-tag-picker

A cool mobile component of tag picker width vue.js [中文文档](https://github.com/JakeLaoyu/v-tag-picker/blob/master/README-CN.md)

0.6.4
latest
Source
npmnpm
Version published
Weekly downloads
57
5600%
Maintainers
1
Weekly downloads
 
Created
Source

v-tag-picker

A cool mobile component of tag picker width vue.js 中文文档

npm npm npm

Introduction

DEMO

Screenshot

Install

npm i v-tag-picker -S

Usage

// global
import vTagPicker from 'v-tag-picker'

Vue.use(vTagPicker)

// component
import { vTagPicker } from 'v-tag-picker'

components: {
  vTagPicker
}
<v-tag-picker
  :totalData="tagData"
  :selectedData="selectedData"
  @change="change"
>
  <div class="img-wrap" slot="top">
    <img class="" src="~@/examples/assets/tagbg.png" alt="">
    <div class="img-wrap__title">最感兴趣的栏目</div>
    <div class="img-wrap__subtitle">定制专属于我的课程栏目</div>
  </div>

  <div class="footer" slot="footer">
    <a href="/">进入首页</a>
  </div>
</v-tag-picker>

Props

NameTypeDefaultDescription
zIndexNumbertag-picker z-index
totalDataArray[]picker list data,Must has name key. [{ name: 'tag' }]
selectedDataArray[]Selected list
animationDurationNumber500Animation time(ms).
onlyKeyStringnameUnique identifier for each item of data
appendToBodyBooleannameappend to body element

Events

NameDescriptionreturn
changeSelected data changeSelected data

slot

NameDescription
topIn front of the list
footerbottom page

License

MIT © JakeLaoyu

FAQs

Package last updated on 29 Mar 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.