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

hsy-vue-dropdown

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hsy-vue-dropdown

vue dropdown component.

  • 0.0.3
  • npm
  • Socket score

Version published
Weekly downloads
65
increased by32.65%
Maintainers
1
Weekly downloads
 
Created
Source

vue-dropdown

This is yet another vue dropdown component.

Install

Use npm to download code:

npm install hsy-vue-dropdown -S

then import it into your project, add below code into your main.js:

import Dropdown from 'hsy-vue-dropdown'

Vue.use(Dropdown)

Usage

<template>
  <dropdown :data="data" :cbChanged="changed"></dropdown>
</template>

<script>
const data = [{
  label: 'Volvo',
  value: 1
}, {
  label: 'Saab',
  value: 2
}, {
  label: 'Long long long long long long test',
  value: 2
}]

export default {
  data() {
    return {
      data
    }
  },
  methods: {
    changed(selected) {
      console.log(selected)
    }
  }
}
</script>

Props

Coming...

Demo

Demo

Screenshot

FAQs

Package last updated on 28 Feb 2017

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