Comments (6)
mask
属性的类型可以为Object
,则当为Object
的时候是什么意思,属性的结构是怎么样的?- 删掉所有
getXxxDOM
方法 - 感觉少个
close
事件,当点击关闭按钮时触发
from esui.
- 写错了。。。
- 现在不需要了吗?虽然我没用上。。。。
- hide跟close不是一个概念是不?
from esui.
- 控件封装DOM,不得让使用者访问到任何自己管理的DOM,这是原则。
hide
应该是隐藏,下次还有show
的时候,但close
是关掉,再也不会回来了,我的理解对么……
from esui.
我在想应用场景。什么时候只需要hide而不是dispose掉整个控件。如果没有什么场景需要,是不是考虑将hide改为close,然后只保留一个接口?
from esui.
Ext的Dialog
是这样设计的:
- 默认点击关闭按钮是隐藏
- 有一个
closeOnHide
属性,设为true
时隐藏等于关闭
其实所有控件都有hide
方法,我觉得Dialog
的关闭按钮只管关闭就行
from esui.
觉着closeOnHide这个属性不错,当使用静态html创建dialog时其实是需要hide而不是close的,所以用这个属性可以允许用户配置。加上了。
from esui.
Related Issues (20)
- 日程投放控件 HOT 4
- InputCollection 应当继承 ControlCollection HOT 1
- Table 的 overflowX 属性为非 hidden 的时候多出一个横向滚动条 HOT 3
- BoxGroup有一处事件没使用addDOMEvent绑定
- 解决set和setProperties触发change的问题
- Table的依赖不全
- 控件初始化子控件时的valueReplacer管理
- 控件初始化子控件时的valueReplacer管理
- 控件初始化子控件时的valueReplacer管理
- 指定元素的销毁子控件
- Select 控件对于value比较判断的兼容性问题 HOT 2
- 希望能添加一些布局相关的组件 HOT 4
- 对于带有数据源的控件是否应该支持外部不提供数据源的场景的表决 HOT 19
- addChild的时候添加校验 HOT 6
- viewContext的疑问 HOT 3
- 加个Lisence HOT 1
- MonthView的年月下拉框格式可调 HOT 1
- 渐变背景的问题
- Panel控件的addContent方法不适用table布局 HOT 2
- 关于拓展组件
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 esui.