Coder Social home page Coder Social logo

react-vehicle-keyboard-js's Introduction

react-vehicle-keyboard

react-vehicle-keyboard是一个用于移动端输入车牌号的键盘组件

Features

  • support h5

Installation

npm

npm install react-vehicle-keyboard --save

yarn

yarn add react-vehicle-keyboard

Peer dependencies

react-vehicle-keyboard uses React>=15.0.0,React DOM >=15.0.0 as peer dependencies.

npm

yarn

Props

Name Type Default Description
show Boolean false 是否显示键盘
type Number 1 显示键盘的类型 1:省缩写键盘 2:字母和数字键盘
disabledKyes Array 不可用的键
handleSelectKey Function 点击键的事件回调

Usage

import Keyboard from 'react-vehicle-keyboard';
require('react-vehicle-keyboard/react-vehicle-keyboard.css')

...
  <Keyboard
    show={showKeyboard}
    type={keyboardType}
    disabledKyes={disabledKeys}
    handleSelectKey={this.keyboardClick}
  />
...

Change log

1.0.1

change license to MIT

react-vehicle-keyboard-js's People

Contributors

echogoddess avatar landfei 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.