Giter VIP home page Giter VIP logo

amazeui.keyboard's Introduction

amazeui.keyboard

###自适应虚拟键盘1.0插件是基于Amaze UI开发的一款响应式键盘 1、引用js css文件

  <link rel="stylesheet" href="amazeui.min.css">
  <link rel="stylesheet" href="amazeui.keyboard.min.css">
  <script type="text/javascript" src="jquery.min.js">
  <script type="text/javascript" src="amazeui.min.js">
  <script type="text/javascript" src="amazeui.keyboard.min.js">

2、设置class类或ID

  <input class="keyboard" /> 
  <textarea id="keyboard" ></textarea>

3、最后一步,绑定事件

    $('.keyboard').keyboard({ type: 'English' });
    $('#keyboard').keyboard({ type: 'English' });

键盘功能API

  type: English、Number、Chinese(英文、数字、中文)
  upset: true、false(开启混淆,中文键盘是没有这个功能的)
  extend: true、false(开启符号扩展,中文键盘是自带这个功能不能关闭)
  $().keyboard_End();(关闭键盘,考虑到需要做点击键盘以外的地方关闭键盘)

amazeui.keyboard's People

Contributors

chenfangyi931 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.