Code Monkey home page Code Monkey logo

kkcascader's Introduction

kkCascader

vue组件:**省市区级联组件 vue2.0

更新日志

@1.0.4

demo

示例([email protected]+) 点我.

截图

screenshot screenshot

依赖

地区列表数据源

china-dist-data.

安装

npm

$ npm install  kkcascader

使用

相关参数

名称 类型 默认 说明
placeholder String "" 你懂的

Events

名称 类型 默认 说明
change methods "" 选定最后一级地区后触发,返回两个参数 第一个为地区id,第二个为选中城市的文字
<template>
  <div id="app">
   		<label for="dist">收货地址</label>
		  <kkcascader  placeholder="请选择地址" @change="change"></kkcascader>
  </div>
</template>

<script>
 import cascader from './lib/index.js'
 Vue.use(cascader)
</script>

kkcascader's People

Contributors

kuishang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.