Comments (3)
related to #1761 @Sight-wcg 有待晨星评估下内部添加
lay-id
之前,是否有必要判断元素已经存在该属性,或提供一个选项用于自定义属性名,默认值lay-id
,用户可设置false
禁用该功能。我个人比较倾向于后者。
以组件名做命名空间如何,例如 'lay-dropdown-id', 这样不同组件使用时不会冲突,也不需要新加选项自定义。
lay
为 layui 使用的命名空间dropdown
为组件命名空间id
为组件实例的 id/index
需要将所有类似的组件做统一修改,tab 的 'lay-id' 用来标识 tab-title, 保持原样不用处理
from layui.
related to #1761
@Sight-wcg 有待晨星评估下内部添加 lay-id
之前,是否有必要判断元素已经存在该属性,或提供一个选项用于自定义属性名,默认值 lay-id
,用户可设置 false
禁用该功能。我个人比较倾向于后者。
from layui.
同意 👍,这样更省事。
from layui.
Related Issues (20)
- table中自定义输入框number类型添加lay-affix="number"后,点击后面的箭头调整数字,监听input失效 HOT 1
- number类型input的小bug HOT 1
- 流加载自定义‘加载更多’按钮的样式
- 弹出层(layer.open)在火狐浏览器下打开的窗口不能自适应 HOT 1
- table.reloadData重置td的一些DOM属性 HOT 2
- table单元格展开,宽度判断存在异常 HOT 2
- 导航栏 加上 徽章,徽章过长的话,样式好像不太对 HOT 6
- 无法使用querySelectorAll方法,会提示未定义 HOT 2
- 建议给form表单模块增加一个重置表单内容API HOT 1
- 编辑列表,某一列字段比较多,在最后的一行点击展开后样式会出现问题 HOT 3
- table.render 不使用cols或模板引擎循环输出想要的内容 HOT 11
- 顶部导航无法使用3级导航,存在样式问题 HOT 3
- table列的unresize属性无效的问题 HOT 6
- 为什么导出excel还是xls,不支持xlsx?现在xls打开就报错 HOT 3
- 选择框能否增加多选的功能 HOT 1
- 关于导航菜单nav HOT 1
- upload组件,希望增加一个点击后就触发的事件,在弹窗选择文件之前 HOT 6
- upload 组件,before回调函数问题 HOT 1
- element.js 51行代码有问题,获取不了lay-id的值 HOT 7
- treeTable的某列为checkbox,在遇到动态设置checkbox选中状态时,不能选中,官方也没有示例,网上更没有有效的办法 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 layui.