Comments (4)
其实我们所有组件都支持 externalClass
,可以通过这个来覆盖样式的。
而且 externalClass
可以支持多个,功能更加强大。
因为很多组件不像 icon 这样简单,DOM 比较复杂,通过 customStyle 只能改单一元素。
from tdesign-miniprogram.
Thanks
from tdesign-miniprogram.
印象中确实有些组件没有入库 externalClass
from tdesign-miniprogram.
等有场景缺乏 externalClass 的时候,再讨论吧。先 close 了
from tdesign-miniprogram.
Related Issues (20)
- [action-sheet] 宫格模式,使用icon图标,无法设置颜色 HOT 2
- [Picker] close事件无法触发 HOT 3
- [Grid] t-grid组件的align的 left 属性不生效 HOT 2
- [t-input] value值为0时不显示值,而显示placeholder HOT 4
- [upload] 希望给upload加一个自定义样式名的属性 HOT 3
- [t-picker] 默认值不生效,设置了默认值并不会滑动到对应位置 HOT 1
- [page-scroll] undefined is not an object HOT 1
- [t-dropdown-item] 可以在组件中新增一个关闭下拉菜单的回调方法嘛? HOT 1
- [t-slider] 无法标识刻度,marks不起作用 HOT 3
- [Tabs 选项卡] 增加border属性 HOT 3
- [t-stepper] 引入组件,随便放一个页面,样式都是乱的,跟演示的不一样,没被其他样式覆盖,放一个空页面也是一样 HOT 4
- [Calendar] format属性无法获取data中的值 HOT 2
- [tabs] 过多tabs-item 页面宽度不正确,而且无法自动滚动 HOT 4
- 全体组件 支持 hover-class 属性 HOT 1
- [t-navbar] 位置显示问题 HOT 3
- [divider] divider组件的t-class无法直接控制本体的class HOT 1
- [search] 如果同时绑定clear和tap,点击clear也会触发tap HOT 1
- [tar-bar] 异步获取数据后更新badge无效 HOT 2
- [t-grid] t-grid-item使用image属性动态加载图片加载速度缓慢并会阻碍主线程造成页面出现卡顿 HOT 2
- [Checkbox] 文档描述错误 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 tdesign-miniprogram.