teal / tealui Goto Github PK
View Code? Open in Web Editor NEW打造小而全、精而美的开源组件库
Home Page: http://tealui.com
License: Other
打造小而全、精而美的开源组件库
Home Page: http://tealui.com
License: Other
Object.set(callback 被执行)
Suggest blur 关闭
IE6报错
project.js 冲突
ScrollableControl我觉得还是难以认知。
。。。。 不知道你的直观感受是啥
Validator 组件中有 messages
var validator1 = new Validator({
elem: Dom.get('validator1'),
rules: {
// 必填字段。
required: true,
// 最小长度。
minLength: 1,
// 最大长度。
maxLength: 10,
// 自定义正则。
pattern: /\d/
},
// 通过 messages 的同名字段,可自定义错误信息。
messages: {
pattern: '必须包含一个数字'
}
});
而在Validator.Form 怎样自定义错误信息?
Dialog 组件在 IE6 无显示
在谷歌浏览器 Dialog 组件能正常弹出对话框,但在IE6浏览下无Dialog 对话框。
这是什么问题呀?大神求解
如:
dom/base:core: Basic requirements (2, 4, 6)重新执行16 ms
Dom
可以获取长度
push() 增加长度
push() 添加到最后一个元素
在执行 #5 at http://jplusui.github.com/dev/unittest/unit/dom/core.js:3:1 时出现异常: fn is not defined
源:
ReferenceError: fn is not defined
at http://jplusui.github.com/src/dom/base.js:130:16
at Class.map (http://jplusui.github.com/src/dom/base.js:115:17)
at Class.filter (http://jplusui.github.com/src/dom/base.js:127:20)
at Object. (http://jplusui.github.com/dev/unittest/unit/dom/core.js:16:15)
共 9 个确认, 但只执行了 5 个
源:
at http://jplusui.github.com/dev/unittest/unit/dom/core.js:3:1
Drag 事件参数中缺少 draggable 属性 dragstart 和 dragend 正常
Drop 模型缺少点拖入的模式
增加动态增加项时的value项。
/ui/container/dialog.less
.x-dialog {
position: absolute;
top: 50%;
left: 50%;
z-index: @zindexDialog;
min-width: 200px;
*width: 400px;
margin-left: -100px;
background-color: @white;
border: 7px solid #999;
border: 7px solid rgba(0,0,0,.3);
.border-radius(6px);
.box-shadow(0 0 10px rgba(0, 0, 0, 0.3));
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
现在返回 DocumentFragment 考虑 返回 DomList
文本节点不做额外处理
绑定submit事件后,手动.submit()调用不执行该事件
有压缩的js版本?
按照API中说明来做,
var myDiv = Dom.get("myDivId"); myDiv.addClass("cssClass");
竟然报错了,不过问题已经解决
比如dataset classList。
我觉得原生的api其实设计得非常好。高富帅你做何 看法
我刚刚看了看,感觉非常不错非常赞~(≧▽≦)/~。另外组件的页面可以用h5bp来搞。有人很支持stylus,不喜欢less,而且chrome可以开启sass支持。→_→我在说什么
应分:
Node
NodeList
Event
EventTarget
Selector
外加组件扩展。NodeControl
等。
意下如何
使用 get/post 时 dataType 都被忽略
//#include browser/base.js
Uncaught ReferenceError: Browser is not defined
因为不同项目颜色风格可能不一样,如何快速更改主题颜色呢
1、YUIDoc使用nodejs进行开发安装。 我们只需要将我们的代码加上必要的注释,便可以很方便的生成文档。
2、使用npm安装yuidoc(命令:npm -g i yuidocjs)
安装完成目录路径 apps/node/node_modules/yuidocjs
3、在apps/node目录配置yuidoc.json文件
{
"name": "YUIDoc",
"description": "YUIDoc documentation tool written in Javascript",
"version": "0.2.38",
"url": "http://yuilibrary.com/projects/yuidoc",
"logo": "http://yuilibrary.com/img/yui-logo.png",
"options": {
"external": {
"data": "/node_modules/yuidocjs/output/api/data.json"
},
"linkNatives": "true",
"attributesEmit": "true",
"paths": [
"../../src"
],
"outdir": "../../output"
}
}
4、在apps/node目录下运行(命令:yuidoc -c yuidoc.json)
IE8以下第二次调用show的时候无法显示
第二次调用mask方法时无效。
Select有ReadOnly属性时,ComboBox也需要禁止操作,包括禁止展开dropdownlist。
如题。
无法获取 e.target 属性,只能通过 e.srcElement 获取。
有一定机率出现 Dom.ready 后获取节点失败
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.