⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️
⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️
Please check these milestones for details
We would like to hear any suggestions from the community. Welcome to join in this discussion. ☕️ Just comment in these issues above.
Team ng-zorro-antd with ❤️
Note: suggestions accepted and implemented would be folded.
建议把配置优化也当成核心,大部分情况下使用 ng-zorro-antd 的时候会统一一种风格,例如统一的 nzSize,但需要对所有组件都手动增加该属性。
倘若能对每一个模块有一个配置项,允许对组件默认值进行预设,这对于开发体验有很大帮助。
假设整个应用都希望以大号字号呈现,以现有的形式需要对每个按钮编写:
<button nz-button nzSize="large"></button>
然而,若我们遵守一种配置优化的风格,例如:
export function NzButtonConfig(): NzButtonConfig {
return Object.assign(new NzButtonConfig (), <NzButtonConfig >{
nzSize: 'large'
});
}
providers: [
{ provide: NzButtonConfig, useFactory: fnNzButtonConfig() }
]
整个应用将保持一个最干净、最简洁的HTML模板。
个人觉得和 Angular 版本对齐意义不大,官方那两个库也只能做到大版本对齐。
Would you have a plan for applying virtual scroll of cdk to select-box, auto-complete, fixed size table with support angular 7.0?
@jeffrey-igaw Yes we have a plan for that.
@wendzhue YESS!! This is good to us! Thank you for hard work!
Is Angular 7 support targeted for the 1.8 release? (Or 7.0 release of you align with their versioning)
Please, angular support and update less
Currently, I have the following behavior: 1.7.1 & 1.8.0 do not work with Angular 7 (page just loads infinitely), whereas 1.6.0 works just fine. What should I do in order to fix this?
@Svetomechc Angular 7.0 has not been fully tested, you can checkout to the next branch and release your own package if you can't wait any longer.
对于性能这块,个人建议,对于select这类下拉型的控件,对于他选项的部分,使用*ngIf来控制,而不是样式的隐藏与显示,这对于一个有大量下拉型控件的页面中来说,性能的提升是非常显著的。
如图,目前看起来cdk的实现是通过style来控制的

will roadmap update?
why there is a support for RTL language ?
Most helpful comment
建议把配置优化也当成核心,大部分情况下使用 ng-zorro-antd 的时候会统一一种风格,例如统一的
nzSize,但需要对所有组件都手动增加该属性。倘若能对每一个模块有一个配置项,允许对组件默认值进行预设,这对于开发体验有很大帮助。
示例
假设整个应用都希望以大号字号呈现,以现有的形式需要对每个按钮编写:
然而,若我们遵守一种配置优化的风格,例如:
整个应用将保持一个最干净、最简洁的HTML模板。