Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.0 在代码中使用@ViewChild引用组件实例,目前的导出名感觉不太好 #275

Closed
yiji opened this issue Sep 12, 2017 · 3 comments · Fixed by #404
Closed

Comments

@yiji
Copy link

yiji commented Sep 12, 2017

例如引用分页组件
import { ɵcw } from 'ng-zorro-antd';
@ViewChild('pagination') pagination: ɵcw;

如果有别的写法请告诉我

@LinboLen
Copy link
Contributor

LinboLen commented Sep 12, 2017

应该要把 Pagination 导出

基本上所有 export 的类均要导出

@vthinkxie
Copy link
Member

@yiji thanks for your feedback, we will take it into consideration.

@lock
Copy link

lock bot commented Feb 19, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants