baidufe / tangram-component Goto Github PK
View Code? Open in Web Editor NEWHome Page: tangram-component
License: BSD 3-Clause "New" or "Revised" License
Home Page: tangram-component
License: BSD 3-Clause "New" or "Revised" License
如题
元素的内部元素依然可以执行mouse事件
如描述,实际代码中使用me.ajaxOption,但是文档写明在get的参数中传入,导致该使用方式无法使用,另外,
是否需要考虑ajaxOption extend 默认的设置方式,避免用户定制ajaxOption时还需要写类似缓存相关的处理代码
默认的,我们认为render和update中关于dom绘制的逻辑应该是要保持一致,目前在update中会追加一个全新的dom节点进来,导致重复的dom元素出现
tangram.baidu.com不能再访问,没有地方可以看Demo了!工程下载下来,examples目录都没有,test目录下的没配好php也跑不起来,哪怕是简单的尝试一下tangram障碍也太多了。
http://localhost/code/tangram-component/test/baidu/ui/button/test.html
当目录结构和预设值不同时,自动用例仍然无法执行。
请QA关注。
baidu.ui.createUI的构造函数中me.layout = options.layout || "horizontal";赋初值了,但是在extend里又一次赋初值layout : "horizontal",
update方法里var len = me.axis[me.layout].size;代码,me.layout应该是horizontal或vertical,此变量应该在options中定义吗,无文档说明。
语句:scrollOffset = scrollOffset || 0, 冗余,
因为scrollTo中已经做了处理
比如设置min=0,max=300,slider元素宽度为200,
计算出的value=298.45360824742266,实际是300;
滑块位置(left) 为193,实际是194。
如描述
见链接,下方的插件部分
http://tangram.baidu.com/tangram-component/baidu_ui_tooltip.html
目前文档里没有offset变量的说明
如题
coordinate变量时必须的,但是代码里没有赋默认值,如果必须用户自己赋值,请在文档里说明
在options里设置了onafterfinish ,由于baidu.fx.remove里有baidu.object.extend操作,会用onafterfinish: function(){baidu.dom.remove(this.element);}覆盖options里的onafterfinish ,因此,options定义的onafterfinish 不会被执行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.