Comments (7)
谢谢
from larea.
刚下载测试了一下,感觉是很不错,没有jq等依赖
data格式没必要那么灵活,这样挺好的,自定义虽然看上去很强大,但是浪费精力
config参数可以多一些选择,比如滑动速度系数等。
另外:
选择完选择完省、市、区之后,再选择其他省,重置市、区的位置,体验会不会更好一点?
感谢 [xfhxbb] 的贡献,加油!
from larea.
感谢你的关注和支持
from larea.
现在是json 如果用数组的话应该怎么弄啊 直接转出来的不行啊
from larea.
简单用了 下 整体感觉还不错 原生的js 不依赖jq 配置参数那块还可以补充一些滑动系数之类的参数来更一步提高性能 谢谢分享 给你一颗星。
from larea.
少数安卓自带浏览器 不兼容 new CustomEvent('input');
页面的css兼容写的好懒;
from larea.
(function () {
if(!!window.CustomEvent) return;
function CustomEvent ( event, params ) {
params = params || { bubbles: false, cancelable: false, detail: undefined };
var evt = document.createEvent( 'CustomEvent' );
evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
return evt;
};
CustomEvent.prototype = window.Event.prototype;
window.CustomEvent = CustomEvent;
})();
from larea.
Related Issues (20)
- 如何获取选中的值
- Uncaught TypeError: Cannot read property 'nodeType' of undefined
- 样式我需要自己修改,但是修改完之后,省市区的位置都对不上了
- 滑动时点击确定报错
- 在个别手机上的省市区的排列乱了的问题
- 如何在更改样式行高后,滑动的结束后能够停留在一行?
- 用commonjs写法怎么模块的导出呢?
- ios下第二次点击input触发失败 HOT 1
- 大神本人小鸟一只 妄图修改三级为二级屡屡碰壁还请指点!!!!急得一匹!!!
- android部分机型不能滑动huawei6,vivo Y67是什么原因 HOT 1
- 这个是必须三级,如果是二级,或是一级怎么办呢? HOT 1
- 能不能直接遍历后台传回来的数据 HOT 2
- Uncaught TypeError: Cannot read property 'querySelectorAll' of null at MobileArea.setGearTooth (LArea.js:278)
- 移动端触发不了,PC完全没问题。急,大神求解答啊
- 当我选择地址的时候点击下面的地址会有一个报错,导致页面 HOT 2
- 手机端调不起来啊?支持手机吗
- 性能问题
- 不支持点击事件 HOT 1
- 移动端呼出时会出现按键的情况
- 无限循环报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larea.